mirror of
https://github.com/hoornet/vega.git
synced 2026-04-26 15:50:01 -07:00
- Import fetch from @tauri-apps/plugin-http (browser fetch was CORS-blocked) - Add fountain.fm to Tauri HTTP capability scope - Extract og:audio meta tag for reliable audio URL resolution - Parse OG title into show name + episode title
31 lines
724 B
JSON
31 lines
724 B
JSON
{
|
|
"$schema": "../gen/schemas/desktop-schema.json",
|
|
"identifier": "default",
|
|
"description": "Capability for the main window",
|
|
"windows": ["main"],
|
|
"permissions": [
|
|
"core:default",
|
|
"opener:default",
|
|
"updater:default",
|
|
"process:default",
|
|
{
|
|
"identifier": "http:default",
|
|
"allow": [
|
|
{ "url": "https://nostr.build/**" },
|
|
{ "url": "https://void.cat/**" },
|
|
{ "url": "https://nostrimg.com/**" },
|
|
{ "url": "https://relay.vertexlab.io/**" },
|
|
{ "url": "https://fountain.fm/**" }
|
|
]
|
|
},
|
|
"dialog:default",
|
|
{
|
|
"identifier": "fs:allow-read-file",
|
|
"allow": [
|
|
{ "path": "**" }
|
|
]
|
|
},
|
|
"notification:default"
|
|
]
|
|
}
|