Files
vega/src-tauri/capabilities/default.json
Jure aa57ff4cd8 Fix Fountain.fm episode cards: use Tauri HTTP plugin for CORS bypass
- 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
2026-04-03 15:01:06 +02:00

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"
]
}