nidus-sync/report/endpoint.go
Eli Ribble bf4c5d5c71 Add support for additional report domain
This will allow us to use a different URL for doing public outreach,
which is nice for everybody.
2026-01-07 15:08:29 +00:00

18 lines
242 B
Go

package report
import (
"fmt"
"net/http"
"github.com/go-chi/chi/v5"
)
func Router() chi.Router {
r := chi.NewRouter()
r.Get("/", getRoot)
return r
}
func getRoot(w http.ResponseWriter, r *http.Request) {
fmt.Fprintf(w, "Herro.")
}