From dc5646c6188c9fe28e05ddc7d1736cf4d47c9aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20L=C3=BChr?= Date: Mon, 11 Mar 2024 07:09:57 +0100 Subject: [PATCH] fix: make BASE_URL environment specific --- src/App.vue | 2 +- vue.config.js | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index 10e4ab2..83a622c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,7 +2,7 @@

Finanzguru 2 YNAB

- Money with Wings + Money with Wings

diff --git a/vue.config.js b/vue.config.js index cb19b0e..8448365 100644 --- a/vue.config.js +++ b/vue.config.js @@ -5,5 +5,8 @@ module.exports = defineConfig({ module.exports = { configureWebpack: { devtool: 'source-map' - } + }, + publicPath: process.env.NODE_ENV === 'production' + ? '/finanzguru2ynab/' + : '/', }