4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-12 02:05:51 +00:00

Added allow-same-origin to iframe (core and UI have different origins).

This commit is contained in:
CalDescent 2023-04-09 18:27:31 +01:00
parent f3985debdf
commit 56c6304363

View File

@ -268,7 +268,7 @@ class WebBrowser extends LitElement {
</div>
<div class="iframe-container">
<iframe id="browser-iframe" src="${this.url
}" sandbox="allow-scripts allow-forms allow-downloads" allow="fullscreen">
}" sandbox="allow-scripts allow-forms allow-downloads allow-same-origin" allow="fullscreen">
<span style="color: var(--black);">${translate(
'browserpage.bchange6'
)}</span>