mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Remove support for V1 unencrypted backend (#4189)
This commit is contained in:
parent
8d4f455cd3
commit
f1eb969565
5 changed files with 22 additions and 37 deletions
|
@ -184,10 +184,7 @@ const initializeScene = async (opts: {
|
|||
// otherwise, prompt whether user wants to override current scene
|
||||
window.confirm(t("alerts.loadSceneOverridePrompt"))
|
||||
) {
|
||||
// Backwards compatibility with legacy url format
|
||||
if (id) {
|
||||
scene = await loadScene(id, null, localDataState);
|
||||
} else if (jsonBackendMatch) {
|
||||
if (jsonBackendMatch) {
|
||||
scene = await loadScene(
|
||||
jsonBackendMatch[1],
|
||||
jsonBackendMatch[2],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue