Commit 2ae5166
fix(validator): keep one canonical hostname for the tool
fetch.opentechevents.org was declared alongside validator.opentechevents.org
to give the fetcher an "API name". It did not: assets are served before the
Worker script runs, so that hostname served the whole page as well — two
canonical URLs for one tool, which is precisely what keeping /validator/ as
a redirect exists to prevent.
An API hostname, if ever genuinely wanted, needs its own Worker without an
assets binding rather than another route onto this one.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent d10223d commit 2ae5166
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
0 commit comments