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/, ''), }, }, },