fix(frontend): stop SPA fallthrough on /privacy, /cookies, /opt-out #17
No reviewers
Labels
No labels
agent:implement
agent:ready
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
ready
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/CL8Y-web!17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/12"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #12
Summary
Marketing site (
cl8y.com) no longer serves the product SPA for reserved legal-guess paths.src/lib/reservedLegalGuessPaths.tswith unit tests and host-rule alignment checks.public/_redirects+render.yaml: reserved paths are handled before/* → /index.html(404 via/404.html/ miss rewrite target).SiteHeader/SiteFooter/ productDefaultHeadon reserved paths; minimal not-found view.Acceptance criteria (this repo)
LocationDefaultHeadskip + e2ereservedLegalGuessPaths.test.ts,PROJECT_GUIDE.md,cl8y-host-headersskillcode/cl8y-dex-terraclassic(separate PR)code/cl8y-bridge-monorepo(separate PR)Test plan
node --experimental-strip-types --test(all unit suites including new matcher/host-order tests) — 27 passed in implement worktreeyarn typecheck,yarn lint,yarn build,yarn test:e2e— not run here (noyarn/installed deps in gate-impl sandbox); CI should run full matrixcurl -sI https://cl8y.com/privacy— verify 404 after mergeNotes
Bundle issue #12 also requires matching DEX nginx +
App.tsxand bridgemain.tsxchanges in their own worktrees; this PR is scoped to CL8Y-web only per issue worktree isolation.drain skip: no occupying job for rebase/fix-pr/CI-wait; remaining continue
drain skip: default autoland requires tip ACCEPT (#77)
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.