File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @sveltejs/adapter-vercel ' : patch
3
+ ---
4
+
5
+ fix: correct edge function path for route resolution endpoint
Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ const plugin = function (defaults = {}) {
396
396
// By omitting all routes we're ensuring it's small (the routes will still be available
397
397
// to the route resolution, becaue it does not rely on the server routing manifest)
398
398
await generate_edge_function (
399
- `${ builder . config . kit . appDir } /routes ` ,
399
+ `${ builder . config . kit . appDir } /route ` ,
400
400
{
401
401
external : 'external' in defaults ? defaults . external : undefined ,
402
402
runtime : 'edge'
@@ -405,8 +405,8 @@ const plugin = function (defaults = {}) {
405
405
) ;
406
406
407
407
static_config . routes . push ( {
408
- src : `${ builder . config . kit . paths . base } /${ builder . config . kit . appDir } /routes (\\.js|/.*)` ,
409
- dest : `${ builder . config . kit . paths . base } /${ builder . config . kit . appDir } /routes `
408
+ src : `${ builder . config . kit . paths . base } /${ builder . config . kit . appDir } /route (\\.js|/.*)` ,
409
+ dest : `${ builder . config . kit . paths . base } /${ builder . config . kit . appDir } /route `
410
410
} ) ;
411
411
}
412
412
You can’t perform that action at this time.
0 commit comments