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.
20 lines
449 B
JSON
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"
|
|
]
|
|
}
|