Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(svelte): Add manual entries for repo sub pages to development proxy#64313

Merged
fkling merged 1 commit intomainfrom
fkling/sk/repo-subpage-routing
Aug 6, 2024
Merged

chore(svelte): Add manual entries for repo sub pages to development proxy#64313
fkling merged 1 commit intomainfrom
fkling/sk/repo-subpage-routing

Conversation

@fkling
Copy link
Contributor

@fkling fkling commented Aug 6, 2024

I noticed that non-svelte repo subpages haven't been redirected to the React app in local development (it works as expected in production).

That's because the proxy doesn't know about them since they are not part of knownRoutes.
We could update the server code to include those routes as well but that seems heavey handed just to make local development work.

I think in this case it's fine to have manual entries for the handful of repo subpages that have not been migrated to Svelte yet.

Test plan

Manual testing.

…roxy

I noticed that non-svelte repo subpages haven't been redirected to the
React app in local development (it works as expected in production).

That's because the proxy doesn't know about them since they are not part
of `knownRoutes`.
We could update the server code to include those routes as well but that
seems heavey handed just to make local development work.

I think in this case it's fine to have manual entries for the handful of
repo subpages that have not been migrated to Svelte yet.
@fkling fkling requested a review from camdencheek August 6, 2024 21:35
@cla-bot cla-bot bot added the cla-signed label Aug 6, 2024
@fkling fkling enabled auto-merge (squash) August 6, 2024 21:35
@fkling fkling merged commit 02fb199 into main Aug 6, 2024
@fkling fkling deleted the fkling/sk/repo-subpage-routing branch August 6, 2024 21:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants