Use a catchall for single page apps. #763

Merged
telackey merged 1 commits from telackey/spa into main 2024-02-23 20:32:25 +00:00
Member

This creates a new environment variable, CERC_SINGLE_PAGE_APP, which controls whether a catchall redirection back to / is applied.

If the value is not explicitly set, we try to detect if the page looks like a single-page app.

This creates a new environment variable, CERC_SINGLE_PAGE_APP, which controls whether a catchall redirection back to / is applied. If the value is not explicitly set, we try to detect if the page looks like a single-page app.
telackey added 1 commit 2024-02-23 19:52:41 +00:00
Use a catchall for single page apps.
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 22s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m0s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 6m2s
Smoke Test / Run basic test suite (pull_request) Successful in 3m42s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m59s
17a3d6df65
telackey merged commit 704c42c404 into main 2024-02-23 20:32:25 +00:00
telackey deleted branch telackey/spa 2024-02-23 20:32:26 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#763
No description provided.