From a8583b69a16f84c31e889c1cc71d047e9508d5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anne=20L=27H=C3=B4te?= Date: Mon, 7 Aug 2023 15:48:05 +0200 Subject: [PATCH] fix(ui): Fix base url to download assets, #6 --- .github/workflows/deployment.yml | 2 +- client/vite.config.js | 1 - vite.config.js | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) 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'