@@ -72,11 +72,8 @@ Optional in `math-tutor/frontend/.env`:
...
@@ -72,11 +72,8 @@ Optional in `math-tutor/frontend/.env`:
```env
```env
VITE_PROXY_TARGET="http://<BACKEND_HOST>:8000"
VITE_PROXY_TARGET="http://<BACKEND_HOST>:8000"
VITE_BACKEND_URL=""
```
```
`VITE_BACKEND_URL=""` keeps requests relative so they use the proxy. If you set `VITE_BACKEND_URL` to a full URL, requests bypass the proxy and CORS must be configured accordingly.