From 9348470eccb003d941f75c915a0941714378986a Mon Sep 17 00:00:00 2001
From: alex <alex@alexloehr.net>
Date: Tue, 03 Jun 2025 20:04:39 +0000
Subject: [PATCH] using .env for base urls

---
 vite.config.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vite.config.js b/vite.config.js
index cacf4c1..cffc08d 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -14,7 +14,7 @@
   ],
   resolve: {
     alias: {
-      '@': fileURLToPath(new URL('./src', import.meta.url))
+      '@': fileURLToPath(new URL('./vue/src', import.meta.url))
     },
   },
   server: {
@@ -22,7 +22,7 @@
       '/api': {
         target: 'http://localhost:4101',
         changeOrigin: true,
-        rewrite: (path) => path.replace(/^\/api/, ''),
+        // rewrite: (path) => path.replace(/^\/api/, ''),
       },
     },
   },

--
Gitblit v1.8.0