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.
This commit is contained in:
Jure
2026-03-29 17:38:03 +02:00
parent c5ddd88cbd
commit 8e685f2d4b
2 changed files with 29 additions and 6 deletions

View File

@@ -12,6 +12,8 @@
"identifier": "http:default",
"allow": [
{ "url": "https://nostr.build/**" },
{ "url": "https://void.cat/**" },
{ "url": "https://nostrimg.com/**" },
{ "url": "https://relay.vertexlab.io/**" }
]
},