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

@ -120,7 +120,13 @@ func main() {
// Set up routing by hostname
nidussync.Router(sync_router)
sync_api_router := sync_router.PathPrefix("/api").Subrouter()
api.AddRoutes(sync_api_router)
rmo.Router(rmo_router)
rmo_api_router := rmo_router.PathPrefix("/api").Subrouter()
api.AddRoutes(rmo_api_router)
//hr.Map("", sr) // default
//hr.Map("*", sr) // default