Skip to content

Commit

Permalink
add cross-origin-isolated to sandbox iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
kevodwyer committed Sep 16, 2024
1 parent 2d58993 commit ca180c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/sandbox/AppSandbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ module.exports = {
iframe.style.height = '100%';
iframe.frameBorder="0";
iframe.scrolling="no";
iframe.allow="cross-origin-isolated";
iframeContainer.appendChild(iframe);
Vue.nextTick(function() {
iframe.src = that.frameUrl();
Expand Down

0 comments on commit ca180c8

Please sign in to comment.