mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
b21f723eee
commit
8621ddb6a2
3 changed files with 18 additions and 4 deletions
|
@ -24,12 +24,12 @@ export { loadFromBlob } from "./blob";
|
|||
export { saveAsJSON, loadFromJSON } from "./json";
|
||||
export { saveToLocalStorage } from "./localStorage";
|
||||
|
||||
const BACKEND_GET = "https://json.excalidraw.com/api/v1/";
|
||||
const BACKEND_GET = process.env.REACT_APP_BACKEND_V1_GET_URL;
|
||||
|
||||
const BACKEND_V2_POST = "https://json.excalidraw.com/api/v2/post/";
|
||||
const BACKEND_V2_GET = "https://json.excalidraw.com/api/v2/";
|
||||
const BACKEND_V2_POST = process.env.REACT_APP_BACKEND_V2_POST_URL;
|
||||
const BACKEND_V2_GET = process.env.REACT_APP_BACKEND_V2_GET_URL;
|
||||
|
||||
export const SOCKET_SERVER = "https://excalidraw-socket.herokuapp.com";
|
||||
export const SOCKET_SERVER = process.env.REACT_APP_SOCKET_SERVER_URL;
|
||||
|
||||
export type EncryptedData = {
|
||||
data: ArrayBuffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue