fix(adapter-vercel): make normalization redirects root-relative - #16905
fix(adapter-vercel): make normalization redirects root-relative#16905teemingc wants to merge 4 commits into
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/82d7be77c6f3ba0268edac9c1b98cc54fab8e3e9Open in |
|
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
85f1862 to
43672c5
Compare
This reverts commit 43672c5.
b9b2269 to
9b59b02
Compare
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
9b59b02 to
0ab02ec
Compare
|
The problem is upstream of the location header: |
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
What this does
Converts SvelteKit normalization redirects to root-relative
Locationheaders in the Vercel serverless wrapper. This prevents Vercel from resolving relative normalization redirects against its internal ISR rewrite URL.Stacked on #16903, which adds the failing ISR +
trailingSlash: 'always'test.Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.Edits