From ada4ea694fdf71f2d46e6fd984bfa2927b69d81e Mon Sep 17 00:00:00 2001 From: Frank Jogeleit Date: Tue, 9 Apr 2024 14:01:35 +0200 Subject: [PATCH] test relative baseURl Signed-off-by: Frank Jogeleit --- frontend/nuxt.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index 5ef2cde..4caa9ec 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -39,6 +39,7 @@ export default defineNuxtConfig({ }, }, app: { + baseURL: process.env.NODE_ENV === 'production' ? '.' : '/', head: { title: 'Policy Reporter UI', htmlAttrs: { @@ -54,5 +55,5 @@ export default defineNuxtConfig({ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } ] } - } + }, })