update envs and urls

This commit is contained in:
Egor Pozharov
2026-04-16 13:10:58 +06:00
parent ff27493670
commit 86a684790c
4 changed files with 5 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
# API Configuration
# Leave empty to use proxy (recommended for local dev and production)
# Or set full URL like http://localhost:8081 for direct API access
VITE_API_URL=
VITE_API_URL=http://localhost:8080

View File

@@ -29,7 +29,7 @@ export default defineConfig({
allowedHosts: ['delivery.loca.lt', '.loca.lt'],
proxy: {
'/api': {
target: 'http://localhost:8081',
target: 'http://localhost:8080',
changeOrigin: true,
},
},