Skip to content

Commit

Permalink
fix: Remove old dataset directory (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Sep 8, 2023
1 parent cf6ae99 commit 6a2322d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions website-reverse-proxy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ async function handleRequest(request) {
|| request.url === 'https://www.openactive.io/accessibility-support/accessibility-support.jsonld'
|| request.url === 'https://www.openactive.io/facility-types/facility-types.jsonld'
|| request.url === 'https://www.openactive.io/assets/openactive-logo-small.png'
// Reverse proxy for old status page (can be removed when status page updated)
|| request.url === 'https://www.openactive.io/datasets/directory.json'
// Reverse proxy for validator example links that have been emailed (can be removed after time has passed)
|| request.url.indexOf('https://www.openactive.io/data-models/versions') != -1
) {
request = new Request(request)
let url = new URL(request.url)
Expand Down
2 changes: 1 addition & 1 deletion website-reverse-proxy/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ type = "javascript"
name = "website-reverse-proxy"
account_id = "729c76109998a58d9543b615f18832ff"
zone_id = "036fdaca5aae1198de521c69944c1c65"
routes = ["https://www.openactive.io/activity-list/activity-list.jsonld", "https://www.openactive.io/accessibility-support/accessibility-support.jsonld", "https://www.openactive.io/facility-types/facility-types.jsonld", "https://www.openactive.io/assets/openactive-logo-small.png", "https://www.openactive.io/datasets/directory.json", "https://www.openactive.io/data-models/versions*"]
routes = ["https://www.openactive.io/activity-list/activity-list.jsonld", "https://www.openactive.io/accessibility-support/accessibility-support.jsonld", "https://www.openactive.io/facility-types/facility-types.jsonld", "https://www.openactive.io/assets/openactive-logo-small.png"]

0 comments on commit 6a2322d

Please sign in to comment.