From 759df141437da9a68eeb0ce22a14cb9d88309c1b Mon Sep 17 00:00:00 2001 From: Lipis Date: Fri, 28 Feb 2020 17:39:26 +0100 Subject: [PATCH] Revert "Use direct URL for the backend (#846)" (#852) This reverts commit 602f32b7430b7e3870934954da8549f33a31cd86. --- src/scene/data.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scene/data.ts b/src/scene/data.ts index a0de0d95..521bdad0 100644 --- a/src/scene/data.ts +++ b/src/scene/data.ts @@ -23,10 +23,10 @@ import { copyCanvasToClipboardAsPng } from "../clipboard"; const LOCAL_STORAGE_KEY = "excalidraw"; const LOCAL_STORAGE_KEY_STATE = "excalidraw-state"; -const BACKEND_GET = "https://excalidraw-json.appspot.com/api/v1/"; +const BACKEND_GET = "https://json.excalidraw.com/api/v1/"; -const BACKEND_V2_POST = "https://excalidraw-json.appspot.com/api/v2/post/"; -const BACKEND_V2_GET = "https://excalidraw-json.appspot.com/api/v2/"; +const BACKEND_V2_POST = "https://json.excalidraw.com/api/v2/post/"; +const BACKEND_V2_GET = "https://json.excalidraw.com/api/v2/"; // TODO: Defined globally, since file handles aren't yet serializable. // Once `FileSystemFileHandle` can be serialized, make this