-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add prerendered redirect for non-trailing slash routes with the …
…Vercel adapter (#8766) fixes #8755 Adds a redirect for prerendered non-trailing slash routes to adapter-vercel. Previously, only prerendered trailing slash routes would be added to the redirects list in the vercel config file.
- Loading branch information
1 parent
ccf9659
commit b2575f8
Showing
2 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@sveltejs/adapter-vercel': patch | ||
--- | ||
|
||
fix: add trailing slash -> no trailing slash redirect for prerendered pages |
This file contains 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