Skip to content

Commit

Permalink
chore: Update Svelte adapter paths in svelte.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ecnivtwelve committed Aug 28, 2024
1 parent ea7b0ad commit 5378493
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ const config = {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: "/index.html",
fallback: "404.html",
precompress: false,
strict: true
})
}),
paths: {
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
}
}
};

Expand Down

0 comments on commit 5378493

Please sign in to comment.