Skip to content

Commit 8657666

Browse files
committed
fix: switch vite base path to ./
1 parent 2a2c7b0 commit 8657666

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import {defineConfig} from 'vite';
21
import react from '@vitejs/plugin-react-swc';
2+
import {defineConfig} from 'vite';
33
import svgr from 'vite-plugin-svgr';
44

55
// https://vitejs.dev/config/
66
export default defineConfig({
77
plugins: [react(), svgr()],
8-
base: '/openwebcad/',
8+
base: './',
99
build: {
1010
outDir: 'dist',
1111
},

0 commit comments

Comments
 (0)