fix mapobjects route

This commit is contained in:
Thomas Rudin 2019-01-28 18:30:59 +01:00
parent 81ee5d9f0f
commit 8df96cb6c7

View File

@ -20,7 +20,7 @@ func Serve(ctx *app.App) {
mux.Handle("/", http.FileServer(vfs.FS(ctx.Config.Webdev)))
mux.Handle("/api/tile/", &Tiles{ctx: ctx})
mux.Handle("/api/config", &ConfigHandler{ctx: ctx})
mux.Handle("/api/mapobjects", &MapObjects{ctx: ctx})
mux.Handle("/api/mapobjects/", &MapObjects{ctx: ctx})
ws := NewWS(ctx)
mux.Handle("/api/ws", ws)