change file upload from void.cat to nostr.download

This commit is contained in:
mr0x50
2025-02-01 16:17:09 +01:00
parent 072277874e
commit 903b97a78e

View File

@@ -176,7 +176,7 @@ const UploadComponent: React.FC = () => {
let authEventSigned = (await signEvent(loginType, authEvent)) as NostrEvent
// Actually upload the file
await fetch("https://void.cat/upload", {
await fetch("https://nostr.download/upload", {
method: "PUT",
body: file,
headers: { authorization: "Nostr " + btoa(JSON.stringify(authEventSigned)) },