feat: Remove support for V1 unencrypted backend (#4189)

This commit is contained in:
Lipis 2021-11-02 14:52:25 +02:00 committed by GitHub
parent 8d4f455cd3
commit f1eb969565
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 37 deletions

View file

@ -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],