From 544ec6dcc807abf62f4bd88bf8b9b7ee675f6ec4 Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Tue, 27 Dec 2022 04:05:54 +1300 Subject: [PATCH 1/2] remove invalid trailing comma in JSON --- 35.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/35.md b/35.md index 42f8fcd..bb93622 100644 --- a/35.md +++ b/35.md @@ -34,7 +34,7 @@ This NIP proposes an optional additional key like this: }, "relays": { "b0635d6a9851d3aed0cd6c495b282167acf761729078d975fc341b22650b07b9": [ "wss://relay.example.com", "wss://relay2.example.com" ] - }, + } } ```` From 0091582eb2eb3b9e4fe56dbd02f483694764778a Mon Sep 17 00:00:00 2001 From: Mike Dilger Date: Sun, 20 Nov 2022 17:53:37 +1300 Subject: [PATCH 2/2] Note about serving from a dynamic webserver --- 35.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/35.md b/35.md index bb93622..dec9478 100644 --- a/35.md +++ b/35.md @@ -39,3 +39,5 @@ This NIP proposes an optional additional key like this: ```` The `relays` key contains an object with public keys as properties and arrays of relays as values. + +Web servers which serve nostr.json files dynamically responding to the query string SHOULD also serve the relays data for any name they serve in the same reply.