This commit is contained in:
Tomáš Dvořák
2025-10-03 16:26:44 +02:00
parent 0fc92f8464
commit cdb8bcd3e9
5928 changed files with 1054476 additions and 72 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ export default defineConfig({
open: true,
proxy: {
'/api': {
target: 'http://localhost:8080',
target: process.env.VITE_API_URL || 'http://localhost:8080',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
}