From f1202adb158a339c91e548b89641b0b0dd9d1e9c Mon Sep 17 00:00:00 2001 From: David Luzar Date: Fri, 29 Oct 2021 17:13:28 +0200 Subject: [PATCH] feat: stop using production services for development (#4113) --- .env | 6 ++++-- .env.production | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 40fb9e92..baf4637e 100644 --- a/.env +++ b/.env @@ -1,5 +1,7 @@ REACT_APP_BACKEND_V1_GET_URL=https://json.excalidraw.com/api/v1/ REACT_APP_BACKEND_V2_GET_URL=https://json.excalidraw.com/api/v2/ REACT_APP_BACKEND_V2_POST_URL=https://json.excalidraw.com/api/v2/post/ -REACT_APP_SOCKET_SERVER_URL=https://oss-collab-us1.excalidraw.com -REACT_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"}' + +# dev values +REACT_APP_SOCKET_SERVER_URL=http://localhost:3000 +REACT_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyCMkxA60XIW8KbqMYL7edC4qT5l4qHX2h8","authDomain":"excalidraw-oss-dev.firebaseapp.com","projectId":"excalidraw-oss-dev","storageBucket":"excalidraw-oss-dev.appspot.com","messagingSenderId":"664559512677","appId":"1:664559512677:web:a385181f2928d328a7aa8c"}' diff --git a/.env.production b/.env.production index 01fb7767..95bc37ac 100644 --- a/.env.production +++ b/.env.production @@ -1 +1,3 @@ REACT_APP_GOOGLE_ANALYTICS_ID=UA-387204-13 +REACT_APP_SOCKET_SERVER_URL=https://oss-collab-us1.excalidraw.com +REACT_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"}'