Skip to content

Commit

Permalink
chore(socket.ini): add '[webview.navigator.policies] allowed[]' config
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Apr 16, 2024
1 parent 4255880 commit 1664e83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions socket.ini
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ watch = true
reload = true

[webview.service-workers]

/ = /worker.js

; Mount file system paths in webview navigator
[webview.navigator.mounts]
$HOST_HOME = /user/home
; $HOST_HOME/directory-in-home-folder/ = /mount/path/in/navigator
; $HOST_CONTAINER/directory-app-container/ = /mount/path/in/navigator
; $HOST_PROCESS_WORKING_DIRECTORY/directory-in-app-process-working-directory/ = /mount/path/in/navigator

[webview.navigator.policies]
allowed[] = "https://*.stripe.com/*"
allowed[] = "https://stripe.com/*"
allowed[] = "https://*.stripe.network/*"

[permissions]
; Allow/Disallow fullscreen in application
Expand Down

0 comments on commit 1664e83

Please sign in to comment.