frontend.patch 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. diff --git a/.env.production b/.env.production
  2. index 0c715854..422add5c 100644
  3. --- a/.env.production
  4. +++ b/.env.production
  5. @@ -1,17 +1,25 @@
  6. -VITE_APP_BACKEND_V2_GET_URL=https://json.excalidraw.com/api/v2/
  7. -VITE_APP_BACKEND_V2_POST_URL=https://json.excalidraw.com/api/v2/post/
  8. +# VITE_APP_BACKEND_V2_GET_URL=https://json.excalidraw.com/api/v2/
  9. +# VITE_APP_BACKEND_V2_POST_URL=https://json.excalidraw.com/api/v2/post/
  10. +VITE_APP_BACKEND_V2_GET_URL=http://localhost:3002/api/v2/
  11. +VITE_APP_BACKEND_V2_POST_URL=http://localhost:3002/api/v2/post/
  12. VITE_APP_LIBRARY_URL=https://libraries.excalidraw.com
  13. -VITE_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries
  14. +# VITE_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries
  15. +VITE_APP_LIBRARY_BACKEND=http://localhost:3002/libraries
  16. +# VITE_APP_PLUS_LP=https://plus.excalidraw.com
  17. +VITE_APP_PLUS_LP=http://localhost:3002/plus/
  18. +# VITE_APP_PLUS_APP=https://app.excalidraw.com
  19. +VITE_APP_PLUS_APP=http://localhost:3002/app/
  20. -VITE_APP_PLUS_LP=https://plus.excalidraw.com
  21. -VITE_APP_PLUS_APP=https://app.excalidraw.com
  22. -
  23. -VITE_APP_AI_BACKEND=https://oss-ai.excalidraw.com
  24. +# VITE_APP_AI_BACKEND=https://oss-ai.excalidraw.com
  25. +VITE_APP_AI_BACKEND=http://localhost:3002/ai/
  26. # socket server URL used for collaboration
  27. -VITE_APP_WS_SERVER_URL=https://oss-collab.excalidraw.com
  28. +VITE_APP_WS_SERVER_URL=http://localhost:3002
  29. +# VITE_APP_WS_SERVER_URL=https://oss-collab.excalidraw.com
  30. -VITE_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'
  31. +# VITE_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"excalidraw-room-persistence.firebaseapp.com","databaseURL":"https://excalidraw-room-persistence.firebaseio.com","projectId":"excalidraw-room-persistence","storageBucket":"excalidraw-room-persistence.appspot.com","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'
  32. +VITE_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"","databaseURL":"","projectId":"excalidraw-room-persistence","storageBucket":"","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'
  33. -VITE_APP_DISABLE_TRACKING=
  34. +# VITE_APP_DISABLE_TRACKING=
  35. +VITE_APP_DISABLE_TRACKING=yes