mirror of
https://github.com/livebook-dev/livebook.git
synced 2024-12-27 18:23:49 +08:00
Show an error message when loading the JS module fails (#975)
This commit is contained in:
parent
fc8799ef8f
commit
a42e11a2ad
1 changed files with 2 additions and 2 deletions
|
@ -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(() => {
|
||||
|
|
Loading…
Reference in a new issue