mirror of
https://github.com/lumina-rocks/lumina.git
synced 2026-06-04 17:51:16 +02:00
change file upload from void.cat to nostr.download
This commit is contained in:
@@ -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)) },
|
||||
|
||||
Reference in New Issue
Block a user