Add district resource and an API to RMO

We're going to need an API for the single-page frontend
This commit is contained in:
Eli Ribble 2026-04-03 18:17:19 +00:00
parent 4f9617aa2f
commit bfecae7d61
No known key found for this signature in database
9 changed files with 114 additions and 16 deletions

View file

@ -1,7 +1,6 @@
package sync
import (
"github.com/Gleipnir-Technology/nidus-sync/api"
"github.com/Gleipnir-Technology/nidus-sync/static"
"github.com/gorilla/mux"
)
@ -36,9 +35,6 @@ func Router(r *mux.Router) {
r.HandleFunc("/qr-code/mailer/{code}", getQRCodeMailer)
r.HandleFunc("/template-test", getTemplateTest)
api_router := r.PathPrefix("/api").Subrouter()
api.AddRoutes(api_router)
r.HandleFunc("/", getRoot)
r.HandleFunc("/_/*", getRoot)