Files
vega/src-tauri/capabilities/default.json
Jure 8e685f2d4b Fix image upload on Linux/Wayland (WebKitGTK)
WebKitGTK can't serialize FormData with Blob objects through Tauri's
HTTP plugin, throwing "InvalidStateError: Unable to read form data
blob". Build the multipart/form-data body manually as raw bytes
instead. Also add void.cat and nostrimg.com to the HTTP scope.
2026-03-29 17:38:03 +02:00

30 lines
679 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/**" }
]
},
"dialog:default",
{
"identifier": "fs:allow-read-file",
"allow": [
{ "path": "**" }
]
},
"notification:default"
]
}