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