fix: lowercase jurisdiction slugs so mixed-case filenames stop 404ing - #43
Open
mzf11125 wants to merge 3 commits into
Open
fix: lowercase jurisdiction slugs so mixed-case filenames stop 404ing#43mzf11125 wants to merge 3 commits into
mzf11125 wants to merge 3 commits into
Conversation
Astro glob ids are lowercase while map filenames keep original case, so See also links to id-OJK and eu-MiCA missed the live pages. Co-authored-by: Cursor <cursoragent@cursor.com>
Deploy site on ethsystems/web waits for maintainer approval of fork PRs. This job runs test, content refs, and production build on any push so the fork can produce a check. Co-authored-by: Cursor <cursoragent@cursor.com>
Vitest imports render.ts which needs the generated graph file. Local builds already had it. The runner does not. Co-authored-by: Cursor <cursoragent@cursor.com>
Author
|
Fork Actions is now running. GitHub had not indexed workflows on mzf11125/web until a workflow file landed on this branch. Green CI run on the fork: That job ran npm test, content refs, and npm run build. The upstream Deploy site run is still waiting on maintainer approval: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
id-OJK.mdis served at/jurisdictions/id-ojk/), but markdown rewrite, related links, FAQ, and the graph panel kept the original case, so those hops 404ed.toContentSlug(), and mixed-case inbound URLs redirect to the lowercase pages.Test plan
/jurisdictions/id-ojk/,/jurisdictions/sg-mas/,/jurisdictions/eu-eudr/still load/jurisdictions/id-OJK/,/jurisdictions/sg-MAS/,/jurisdictions/eu-EUDR/,/jurisdictions/eu-MiCA/,/jurisdictions/us-SEC/,/jurisdictions/de-eWpG/redirect to the lowercase pages/jurisdictions/eu-mica/Made with Cursor