update welcome message in HTTP handler to encourage using a nostr client

This commit is contained in:
2025-12-27 22:09:00 +01:00
parent 5a6151af0e
commit 58ec0591f0

View File

@@ -73,7 +73,7 @@ func main() {
// set up other http handlers
mux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
w.Header().Set("content-type", "text/html")
fmt.Fprintf(w, `<b>welcome</b> to my relay!`)
fmt.Fprintf(w, `Please use a <b>nostr</b> client!`)
})
// start the server