Skip to content

Commit

Permalink
fix content-type for nip-11.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Nov 10, 2023
1 parent 6c1a030 commit 78dd138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func (rl *Relay) HandleWebsocket(w http.ResponseWriter, r *http.Request) {
}

func (rl *Relay) HandleNIP11(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
w.Header().Set("Content-Type", "application/nostr+json")

supportedNIPs := []int{9, 11, 12, 15, 16, 20, 33}
if rl.ServiceURL != "" {
Expand Down

0 comments on commit 78dd138

Please sign in to comment.