Title: [BUG] Nip-11 seems to be served on root domain, not on relay_url · Issue #381 · cameri/nostream · GitHub
Open Graph Title: [BUG] Nip-11 seems to be served on root domain, not on relay_url · Issue #381 · cameri/nostream
X Title: [BUG] Nip-11 seems to be served on root domain, not on relay_url · Issue #381 · cameri/nostream
Description: Feel free to close this if I'm confused. The NIP-11 spec (https://github.com/nostr-protocol/nips/blob/master/11.md#relay-information-document ) ... says that... Relays may provide server metadata... This is made available as a JSON docum...
Open Graph Description: Feel free to close this if I'm confused. The NIP-11 spec (https://github.com/nostr-protocol/nips/blob/master/11.md#relay-information-document ) ... says that... Relays may provide server metadata.....
X Description: Feel free to close this if I'm confused. The NIP-11 spec (https://github.com/nostr-protocol/nips/blob/master/11.md#relay-information-document ) ... says that... Relays may provide server metada...
Opengraph URL: https://github.com/cameri/nostream/issues/381
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] Nip-11 seems to be served on root domain, not on relay_url","articleBody":"Feel free to close this if I'm confused.\n\nThe NIP-11 spec (https://github.com/nostr-protocol/nips/blob/master/11.md#relay-information-document ) \n... says that...\n\n```\nRelays may provide server metadata... This is made available as a JSON document over HTTP, on the same URI as the relay's websocket. )\n\n```\n\nOperative text here is \"on the same URI as the relay's websocket\"\n\nSo I THINK that means if my `relay_url` is set to...\n\n```\nwss://mydomain.com/v1\n```\nThen the Nip-11 data should be accessible like ....\n\n```\ncurl -i -H \"Accept: application/nostr+json\" https://some-domain.com/v1\n```\nBut so far I am finding this not to be the case with Nostream. The Nip-11 data is instead accessible on the ROOT of the domain\n\n```\ncurl -i -H \"Accept: application/nostr+json\" https://some-domain.com\n```","author":{"url":"https://github.com/MegalithicBTC","@type":"Person","name":"MegalithicBTC"},"datePublished":"2025-02-12T03:20:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/381/nostream/issues/381"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f0630dc9-17a4-2bab-38b8-6689f7ba329a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8370:AB67D:1B54FBC:24654C1:697D2E31 |
| html-safe-nonce | 862806bda48ea6e435cdcf3f7d307f25cd39820bfd8e794ad3eebcd6a7b080a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MzcwOkFCNjdEOjFCNTRGQkM6MjQ2NTRDMTo2OTdEMkUzMSIsInZpc2l0b3JfaWQiOiI1ODQ4Nzc3NzE2ODkwNjc2Nzg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | bacd7116b5636d3ff59486105083e29be6658de8276264bf9a7f0afb8961798c |
| hovercard-subject-tag | issue:2847077700 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cameri/nostream/381/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b44142ac4cb83228c23aa07be97ec3f516f4a0d83494bf8a7810293d5fc5a76/cameri/nostream/issues/381 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b44142ac4cb83228c23aa07be97ec3f516f4a0d83494bf8a7810293d5fc5a76/cameri/nostream/issues/381 |
| og:image:alt | Feel free to close this if I'm confused. The NIP-11 spec (https://github.com/nostr-protocol/nips/blob/master/11.md#relay-information-document ) ... says that... Relays may provide server metadata..... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MegalithicBTC |
| hostname | github.com |
| expected-hostname | github.com |
| None | 947d30920225f8abb17692477afd5992252045b901780d1bc8fa47c03b5fde64 |
| turbo-cache-control | no-preview |
| go-import | github.com/cameri/nostream git https://github.com/cameri/nostream.git |
| octolytics-dimension-user_id | 378886 |
| octolytics-dimension-user_login | cameri |
| octolytics-dimension-repository_id | 482383845 |
| octolytics-dimension-repository_nwo | cameri/nostream |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 482383845 |
| octolytics-dimension-repository_network_root_nwo | cameri/nostream |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 92fcc0e25bb4da7fe9a458840cb7f3cafa272eb8 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width