From 5ffe9192c10c6ba85666ba246a60dbfca683d99e Mon Sep 17 00:00:00 2001 From: Nikita Biziaev Date: Wed, 8 Jul 2026 13:22:18 +0500 Subject: [PATCH] correct gev proxy --- .env.example | 5 +++-- vite.config.ts | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 761539f..3dba985 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ -branch= -DEV_API_URL=http://localhost:3101 +BRANCH= +#DEV_API_URL=http://localhost:3101 +DEV_API_URL=https://beta.drill.greact.ru VITE_DIAGRAM_API_URL=http://localhost:3002 VITE_TOIR_LIGHT_ORIGIN=https://toir-light.greact.ru VITE_KEYCLOAK_URL=https://sso.greact.ru diff --git a/vite.config.ts b/vite.config.ts index 24a24f1..a32e4cd 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -15,7 +15,6 @@ export default defineConfig(({ mode }) => { '/api': { target: DEV_API_URL, changeOrigin: true, - rewrite: (path) => path.replace(/^\/api/, ''), }, }, },