From 1d8dcef7a1be386d97c8c26b8f21154f42e219fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20K=C5=82osko?= Date: Thu, 3 Feb 2022 18:13:18 +0100 Subject: [PATCH] Show an error message when loading the JS module fails --- assets/js/js_output/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/js_output/index.js b/assets/js/js_output/index.js index 104b602ec57..9c6e618d439 100644 --- a/assets/js/js_output/index.js +++ b/assets/js/js_output/index.js @@ -295,8 +295,8 @@ function bindIframeSize(iframe, iframePlaceholder) { // (1): https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#document_source_security // (2): https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox -const IFRAME_SHA256 = "9cYdQb4mocxzFoj1EryzubL1n7P+lQTeEdWAkeV4E0I="; -const IFRAME_URL = "https://livebook.space/iframe/v1.html"; +const IFRAME_SHA256 = "+uJyGu0Ey7uVV7WwRwg7GyjwCkMNRBnyNc25iGFpYXc="; +const IFRAME_URL = "https://livebook.space/iframe/v2.html"; function initializeIframeSource(iframe) { return verifyIframeSource().then(() => {