From 92a99f89ed81ebc541ca655330cfaa9940de7ebf Mon Sep 17 00:00:00 2001
From: Michelle Weidling <weidling@sub.uni-goettingen.de>
Date: Wed, 28 Jun 2023 09:26:12 +0200
Subject: [PATCH] fix: restore old baseURL

---
 Dockerfile     | 3 ++-
 vite.config.js | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 94048bd..2781d50 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,4 +15,5 @@ RUN npm run build
 
 # production stage
 FROM nginx:stable-alpine as production-stage
-COPY --from=build-stage /app/dist /usr/share/nginx/html
+COPY --from=build-stage /app/dist/assets /usr/share/nginx/html/quiver-frontend/assets
+COPY --from=build-stage /app/dist/index.html /usr/share/nginx/html/index.html
diff --git a/vite.config.js b/vite.config.js
index bdf2fb1..009ea17 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -7,7 +7,7 @@ import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite';
 
 // https://vitejs.dev/config/
 export default defineConfig({
-  base: '/',
+  base: '/quiver-frontend/',
   build: {
     outDir: 'dist',
   },
-- 
GitLab