Add cell debug page.
This makes it much easier to troubleshoot information related to a cell by showing detailed data about a single cell. At this point much is a placeholder, but we at least get the cell boundary coordinates and a map. This also starts to make some code common around doing things like mapping.
This commit is contained in:
parent
7c2d7eef25
commit
c0b527c9a3
9 changed files with 465 additions and 48 deletions
1
main.go
1
main.go
|
|
@ -111,6 +111,7 @@ func main() {
|
|||
r.Post("/signup", postSignup)
|
||||
|
||||
// Authenticated endpoints
|
||||
r.Method("GET", "/cell/{cell}", NewEnsureAuth(getCellDetails))
|
||||
r.Method("GET", "/settings", NewEnsureAuth(getSettings))
|
||||
r.Method("GET", "/vector-tiles/{org_id}/{tileset_id}/{zoom}/{x}/{y}.{format}", NewEnsureAuth(getVectorTiles))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue