-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathfrontend.patch
40 lines (35 loc) · 2.59 KB
/
frontend.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
diff --git a/.env.production b/.env.production
index 0c715854..422add5c 100644
--- a/.env.production
+++ b/.env.production
@@ -1,17 +1,25 @@
-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/
+# 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/
+VITE_APP_BACKEND_V2_GET_URL=http://localhost:3002/api/v2/
+VITE_APP_BACKEND_V2_POST_URL=http://localhost:3002/api/v2/post/
VITE_APP_LIBRARY_URL=https://libraries.excalidraw.com
-VITE_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries
+# VITE_APP_LIBRARY_BACKEND=https://us-central1-excalidraw-room-persistence.cloudfunctions.net/libraries
+VITE_APP_LIBRARY_BACKEND=http://localhost:3002/libraries
+# VITE_APP_PLUS_LP=https://plus.excalidraw.com
+VITE_APP_PLUS_LP=http://localhost:3002/plus/
+# VITE_APP_PLUS_APP=https://app.excalidraw.com
+VITE_APP_PLUS_APP=http://localhost:3002/app/
-VITE_APP_PLUS_LP=https://plus.excalidraw.com
-VITE_APP_PLUS_APP=https://app.excalidraw.com
-
-VITE_APP_AI_BACKEND=https://oss-ai.excalidraw.com
+# VITE_APP_AI_BACKEND=https://oss-ai.excalidraw.com
+VITE_APP_AI_BACKEND=http://localhost:3002/ai/
# socket server URL used for collaboration
-VITE_APP_WS_SERVER_URL=https://oss-collab.excalidraw.com
+VITE_APP_WS_SERVER_URL=http://localhost:3002
+# VITE_APP_WS_SERVER_URL=https://oss-collab.excalidraw.com
-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"}'
+# 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"}'
+VITE_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyAd15pYlMci_xIp9ko6wkEsDzAAA0Dn0RU","authDomain":"","databaseURL":"","projectId":"excalidraw-room-persistence","storageBucket":"","messagingSenderId":"654800341332","appId":"1:654800341332:web:4a692de832b55bd57ce0c1"}'
-VITE_APP_DISABLE_TRACKING=
+# VITE_APP_DISABLE_TRACKING=
+VITE_APP_DISABLE_TRACKING=yes