Skip to content

Commit 20a819f

Browse files
committed
fix
1 parent ec83e5b commit 20a819f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

svelte.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import adapter from '@sveltejs/adapter-static';
44
const config = {
55
kit: {
66
adapter: adapter(),
7-
paths: {
8-
base: process.argv.includes('dev') ? '' : "/Pool-viewer"
9-
}
10-
}
7+
paths: {
8+
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
9+
}
10+
}
1111
};
1212

1313
export default config;

0 commit comments

Comments
 (0)