well-goknown/main.go

15 lines
301 B
Go
Raw Normal View History

package main
import (
"net/http"
"git.minhas.io/asara/well-goknown/matrix"
"git.minhas.io/asara/well-goknown/nostr"
)
func main() {
http.HandleFunc("/.well-known/matrix/server", matrix.Matrix)
http.HandleFunc("/.well-known/nostr.json", nostr.GetNostrAddr)
http.ListenAndServe(":8090", nil)
}