-
-
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.
Use general purpose edge functions for vercel-adapter (#4883)
* Use `dest` instead of `middlewarePath` This will use general purpose edge functions instead of our Middleware infrastructure. This will support Cache-Control and also streamlines the routing. * Fix routing in `split: true` * Add changeset * Update packages/adapter-vercel/index.js * Update packages/adapter-vercel/index.js Co-authored-by: Rich Harris <[email protected]>
- Loading branch information
1 parent
6205a11
commit e685c5a
Showing
2 changed files
with
18 additions
and
4 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 | ||
--- | ||
|
||
Use general purpose Edge Functions instead of piggybacking Middleware for Edge Deployment + fix split mode |
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