Skip to content

Commit 6713261

Browse files
committed
Ensure localhost permission can be requested for localhost web apps.
1 parent 479b1c6 commit 6713261

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# web-request-rpc ChangeLog
22

3+
## 3.0.1 - 2025-12-dd
4+
5+
### Fixed
6+
- Ensure localhost permission can be requested for localhost web apps.
7+
38
## 3.0.0 - 2024-07-02
49

510
### Changed

lib/WebAppWindowInlineDialog.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ export class WebAppWindowInlineDialog extends WebAppWindowDialog {
5959
this.iframe = document.createElement('iframe');
6060
this.iframe.src = url;
6161
this.iframe.scrolling = 'auto';
62+
// allow web apps to ask for localhost permission
63+
this.iframe.allow = 'local-network-access';
6264
applyStyle(this.iframe, {
6365
position: 'fixed',
6466
top: 0,

0 commit comments

Comments
 (0)