diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 0a0031ab..b8f7f942 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -38,7 +38,7 @@ jobs: - name: Install dependencies run: npm install - name: Build - run: npm run build + run: npm run build -- --base=/works-finder/ - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact diff --git a/client/vite.config.js b/client/vite.config.js index 472742c8..e21a4224 100644 --- a/client/vite.config.js +++ b/client/vite.config.js @@ -3,7 +3,6 @@ import { defineConfig } from 'vite'; // https://vitejs.dev/config/ export default defineConfig({ - base: '/works-finder/', build: { emptyOutDir: true, outDir: '../server/dist', diff --git a/vite.config.js b/vite.config.js index b3071a1e..8611b94d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -3,7 +3,6 @@ import { defineConfig } from 'vite'; // https://vitejs.dev/config/ export default defineConfig({ - base: '/works-finder/', build: { emptyOutDir: true, outDir: '../dist'