[vercel] Use Edge Functions instead of Edge Middlewares (#4713)
* Don't use middleware * changeset * breaking change
This commit is contained in:
parent
0dba3b6f3f
commit
16113c3ae2
2 changed files with 6 additions and 1 deletions
5
.changeset/polite-beds-happen.md
Normal file
5
.changeset/polite-beds-happen.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'@astrojs/vercel': major
|
||||
---
|
||||
|
||||
Use Edge Functions instead of Edge Middlewares
|
|
@ -68,7 +68,7 @@ export default function vercelEdge(): AstroIntegration {
|
|||
routes: [
|
||||
...getRedirects(routes, _config),
|
||||
{ handle: 'filesystem' },
|
||||
{ src: '/.*', middlewarePath: 'render' },
|
||||
{ src: '/.*', dest: 'render' },
|
||||
],
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue