Add support for additional report domain

This will allow us to use a different URL for doing public outreach,
which is nice for everybody.
This commit is contained in:
Eli Ribble 2026-01-07 15:08:29 +00:00
parent 62bf045edd
commit bf4c5d5c71
7 changed files with 108 additions and 63 deletions

18
report/endpoint.go Normal file
View file

@ -0,0 +1,18 @@
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.")
}