15 lines
301 B
Go
15 lines
301 B
Go
|
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)
|
||
|
}
|