diff --git a/frontend/package.json b/frontend/package.json index 5d6639e..df2a22a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -5,7 +5,6 @@ "type": "module", "scripts": { "dev": "vite", - "dev:no-mock": "VITE_MOCKING_ENABLED=false vite", "build": "tsc -b && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview", diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index d3084c6..e706866 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -7,7 +7,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'; // https://vitejs.dev/config/ export default defineConfig({ plugins: [react(), tsconfigPaths(), svgr()], - base: './', + base: '/', // base 경로를 절대 경로로 수정 test: { globals: true, },