-
-
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: correctly check URL pathname with Cloudflare adapter (#8733)
* add trailing slash check for prerendered files * check URI decoded prerendered pathname * correctly add placeholders.ts to tsconfig.json * correct changeset * cleanup * rename generated files comment Co-authored-by: Rich Harris <[email protected]> * rewrite changeset * add redirect to counterpart route * add check for empty counterpart route string * change redirect status to 308 to match adapter-vercel --------- Co-authored-by: Simon H <[email protected]> Co-authored-by: Rich Harris <[email protected]>
- Loading branch information
1 parent
a5f9f41
commit 32cbe07
Showing
3 changed files
with
32 additions
and
14 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-cloudflare': patch | ||
--- | ||
|
||
fix: correctly check URL pathname with Cloudflare adapter |
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
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