lucas on Nostr: Could you please clarify which hostname they'd use? For example, we use ...
Could you please clarify which hostname they'd use? For example, we use nostrmedia.com as the hostname for /upload endpoint, but files are stored under file.nostrmedia.com hostname. Are the GET requests going to be to nostrmedia.com/upload/<sha256> or would it be to nostrmedia.com/<sha256> ? As I may need to rebuild quite a bit here.
Published at
2024-11-22 00:46:18Event JSON
{
"id": "0469fc2731f8220742c782ac4567160621b724d4cc4d5ea650fd396dcf706887",
"pubkey": "d49a9023a21dba1b3c8306ca369bf3243d8b44b8f0b6d1196607f7b0990fa8df",
"created_at": 1732236378,
"kind": 1,
"tags": [
[
"e",
"0924af70fadb25f47ee0a6c8e16a44432f738a6924d16cdfb684774bc04274a2",
"wss://nostr.wine/",
"root"
],
[
"e",
"0c3465c8c91920c2b98f4a700359ca8bb653ba7c0a4a5fb90846d98036d91122",
"",
"reply"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"",
"mention"
]
],
"content": "Could you please clarify which hostname they'd use? For example, we use nostrmedia.com as the hostname for /upload endpoint, but files are stored under file.nostrmedia.com hostname. Are the GET requests going to be to nostrmedia.com/upload/\u003csha256\u003e or would it be to nostrmedia.com/\u003csha256\u003e ? As I may need to rebuild quite a bit here.",
"sig": "78eaab6f10a4890c135a95575609ace03fcd6dd81d97df647a0bc0d36515b66b261fcc3b819f5539b15b7a304d5b4af28019ac1d86be60db6d998d2d94b57881"
}