mirror of
https://github.com/layer-systems/relay.git
synced 2026-06-04 01:21:22 +02:00
update welcome message in HTTP handler to encourage using a nostr client
This commit is contained in:
2
main.go
2
main.go
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user