diff --git a/CHANGELOG.md b/CHANGELOG.md index 1371301..5b30422 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # web-request-rpc ChangeLog +## 3.0.1 - 2025-12-dd + +### Fixed +- Ensure localhost permission can be requested for localhost web apps. + ## 3.0.0 - 2024-07-02 ### Changed diff --git a/lib/WebAppWindowInlineDialog.js b/lib/WebAppWindowInlineDialog.js index 0a49eb6..0856bc5 100644 --- a/lib/WebAppWindowInlineDialog.js +++ b/lib/WebAppWindowInlineDialog.js @@ -59,6 +59,8 @@ export class WebAppWindowInlineDialog extends WebAppWindowDialog { this.iframe = document.createElement('iframe'); this.iframe.src = url; this.iframe.scrolling = 'auto'; + // allow web apps to ask for localhost permission + this.iframe.allow = 'local-network-access'; applyStyle(this.iframe, { position: 'fixed', top: 0,