Fix import.meta.env.MODE being undefined in host apps

This commit is contained in:
Marcel Mraz 2025-05-22 15:25:48 +02:00
parent 41c036e1a5
commit 14d512f321
No known key found for this signature in database
GPG Key ID: 4EBD6E62DC830CD2
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
MODE="development"
VITE_APP_BACKEND_V2_GET_URL=https://json-dev.excalidraw.com/api/v2/
VITE_APP_BACKEND_V2_POST_URL=https://json-dev.excalidraw.com/api/v2/post/

View File

@ -1,3 +1,5 @@
MODE="production"
VITE_APP_BACKEND_V2_GET_URL=https://json.excalidraw.com/api/v2/
VITE_APP_BACKEND_V2_POST_URL=https://json.excalidraw.com/api/v2/post/