Skip to content

Commit

Permalink
Fix adapter-vercel using the wrong directory (#450)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrygrFlzr authored Mar 5, 2021
1 parent e8b5481 commit 8123929
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/light-roses-teach.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/adapter-vercel': patch
---

Fix adapter-vercel using the wrong directory
2 changes: 1 addition & 1 deletion packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default async function adapter(builder) {
builder.log.minor('Building lambda...');
builder.copy_server_files(server_directory);

copy(join(__dirname, '../files'), lambda_directory);
copy(join(__dirname, 'files'), lambda_directory);

builder.log.minor('Prerendering static pages...');
await builder.prerender({
Expand Down

0 comments on commit 8123929

Please sign in to comment.