correct gev proxy

This commit is contained in:
2026-07-08 13:22:18 +05:00
parent 88d628b696
commit 5ffe9192c1
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
branch= BRANCH=
DEV_API_URL=http://localhost:3101 #DEV_API_URL=http://localhost:3101
DEV_API_URL=https://beta.drill.greact.ru
VITE_DIAGRAM_API_URL=http://localhost:3002 VITE_DIAGRAM_API_URL=http://localhost:3002
VITE_TOIR_LIGHT_ORIGIN=https://toir-light.greact.ru VITE_TOIR_LIGHT_ORIGIN=https://toir-light.greact.ru
VITE_KEYCLOAK_URL=https://sso.greact.ru VITE_KEYCLOAK_URL=https://sso.greact.ru

View File

@@ -15,7 +15,6 @@ export default defineConfig(({ mode }) => {
'/api': { '/api': {
target: DEV_API_URL, target: DEV_API_URL,
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
}, },
}, },
}, },