From 60461d329c5355e4a31b44d09d1a3e546134db98 Mon Sep 17 00:00:00 2001 From: sperwing Date: Sun, 17 Nov 2024 15:26:25 +0100 Subject: [PATCH] Use env variable for backend location --- front/bahnui-front/.env | 1 + front/bahnui-front/src/components/routing.vue | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 front/bahnui-front/.env diff --git a/front/bahnui-front/.env b/front/bahnui-front/.env new file mode 100644 index 0000000..0ed21ca --- /dev/null +++ b/front/bahnui-front/.env @@ -0,0 +1 @@ +VUE_APP_BASE_URL=http://127.0.0.1:3000 \ No newline at end of file diff --git a/front/bahnui-front/src/components/routing.vue b/front/bahnui-front/src/components/routing.vue index 31ffc75..d73b5d4 100644 --- a/front/bahnui-front/src/components/routing.vue +++ b/front/bahnui-front/src/components/routing.vue @@ -23,6 +23,10 @@