Skip to content

Commit b1793a9

Browse files
committed
fix(wc): change base path
1 parent 83c4525 commit b1793a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vite.config.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ const getInput = (hmr: boolean): InputOption => {
3232

3333
const getBase = (command: string) => {
3434
if (command === 'serve') return `http://localhost:${port}/`;
35-
if (isBuildDev) return '/';
36-
return isWeb ? '/trakt-extension/' : '/';
35+
if (isBuildDev) return '';
36+
return isWeb ? '/trakt-extension/' : '';
3737
};
3838

3939
export default defineConfig(({ command }) => ({

0 commit comments

Comments
 (0)