Replying to Avatar hzrd149

Client can and probably will use the "url" field returned from the /upload endpoint when composing kind 1 notes. although the GET / serves a different purpose

Take this note for example nostr:nevent1qvzqqqqqqypzqfngzhsvjggdlgeycm96x4emzjlwf8dyyzdfg4hefp89zpkdgz99qyghwumn8ghj7mn0wd68ytnhd9hx2tcpzfmhxue69uhkummnw3e82efwvdhk6tcprfmhxue69uhhq7tjv9kkjepwve5kzar2v9nzucm0d5hsqgp40020uraxgjhz7qlaspnvwfu782qgulw7vrqqe2q45su6kqywkss9rclp

If my main server cdn.hzrd149.com went down or the image was removed from it. clients could lookup my preferred list of blossom servers (kind 10063 event) and start going down the list asking each one for the exact same blob (without needing to know how the server works)

1.

2.

Thats the point of requiring the "GET /" endpoint to be in the exact same location on every server. so its super easy for clients to quickly fallback and check other servers

Amethyst 🌸 support incoming in 3,2,1 ... 🔥

Fyi cdn.nostrcheck.me and cdn.satellite.earth will do great in your options, plus if you run haven. As because I am too lazy to hop to the strudel and nostromo just for the blossom support. Btw if primal stops fucking up the hash, blossom.primal.net will do too. The whole point is to find the file everywhere and to get delivered no matter which one of the 🌸 works at the time.

nostr:nevent1qqs8gl8t88hvc90xcgnw6qmsm7xnf73mcg72l8r54h54q7ydgf7v3hsqcdk57

Reply to this note

Please Login to reply.

Discussion

No replies yet.