Extract backend URLs into environment variables (#1772) (#1848)

This commit is contained in:
Minh Nguyen 2020-07-02 16:52:58 +01:00 committed by GitHub
parent b21f723eee
commit 8621ddb6a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 4 deletions

4
.env Normal file
View file

@ -0,0 +1,4 @@
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://excalidraw-socket.herokuapp.com