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:
parent
4f9617aa2f
commit
bfecae7d61
9 changed files with 114 additions and 16 deletions
6
main.go
6
main.go
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue