Files
openconcho/packages/desktop/src-tauri/capabilities/default.json
Offending Commit 1d09547990 fix(desktop): correct http capability url patterns for non-standard ports
http://** uses ** in hostname which is not valid URL Pattern spec.
Hostname wildcard is * (not **); non-default ports require the *:*
host:port form. Add all four variants to cover http/https on both
default and non-default ports.
2026-04-24 21:42:07 -05:00

20 lines
449 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Default capabilities for the OpenConcho desktop window",
"windows": ["main"],
"permissions": [
"core:default",
{
"identifier": "http:default",
"allow": [
{ "url": "http://*" },
{ "url": "http://*:*" },
{ "url": "https://*" },
{ "url": "https://*:*" }
]
},
"shell:allow-open"
]
}