Fix more bugs (x2)
This commit is contained in:
parent
a69e9e47a3
commit
e79b57e2ac
|
@ -23,7 +23,11 @@ const config = {
|
||||||
// Use different adapters based on the environment.
|
// Use different adapters based on the environment.
|
||||||
// For GitHub Pages deployment, use svelte-adapter-ghpages.
|
// For GitHub Pages deployment, use svelte-adapter-ghpages.
|
||||||
// For local development, you can use a different adapter like @sveltejs/adapter-static or any other suitable one.
|
// For local development, you can use a different adapter like @sveltejs/adapter-static or any other suitable one.
|
||||||
adapter: process.env.NODE_ENV === 'production' ? adapterGhpages() : adapter(),
|
adapter: process.env.NODE_ENV === 'production' ? adapterGhpages({
|
||||||
|
pages: 'build',
|
||||||
|
assets: 'build',
|
||||||
|
fallback: null
|
||||||
|
}) : adapter(),
|
||||||
paths: {
|
paths: {
|
||||||
base: process.env.NODE_ENV === 'production' ? "/BreakOften" : "",
|
base: process.env.NODE_ENV === 'production' ? "/BreakOften" : "",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue