Show an error message when loading the JS module fails (#975)

This commit is contained in:
Jonatan Kłosko 2022-02-03 18:51:33 +01:00 committed by GitHub
parent fc8799ef8f
commit a42e11a2ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(() => {