Skip to content

Commit

Permalink
remove old files
Browse files Browse the repository at this point in the history
  • Loading branch information
vsimakhin committed Feb 14, 2025
1 parent 1c2b2d5 commit 51518af
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 2,614 deletions.
109 changes: 0 additions & 109 deletions app/handlers_map.go

This file was deleted.

46 changes: 0 additions & 46 deletions app/handlers_map_test.go

This file was deleted.

14 changes: 0 additions & 14 deletions app/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,24 +228,10 @@ func (app *application) routes() *chi.Mux {
r.Get(APIStatsTotalsByClassPage, app.HandlerStatsTotalsByClassPage)
r.Get(APIStatsLimitsPage, app.HandlerStatsLimitsPage)

// map
// r.Get(APIMap, app.HandlerMap)
// r.Get(APIMapData, app.HandlerMapData)

// api & parameters
r.Get(APIPreferences, app.HandlerPreferences)
})

// other stuff
// if app.config.env == "dev" {
// r.Handle("/static/*", app.HandlerStatic())
// } else {
// r.Handle("/static/*", middleware.SetHeader("Cache-Control", "private, max-age=3600, must-revalidate")(app.HandlerStatic()))
// }
// r.HandleFunc("/favicon.ico", app.HandlerFavicon)
// r.NotFound(app.HandlerNotFound)
// r.MethodNotAllowed(app.HandlerNotAllowed)

r.Handle("/*", middleware.Compress(5)(app.HandlerUI()))

return r
Expand Down
47 changes: 0 additions & 47 deletions app/static/css/ol-custom.css

This file was deleted.

Loading

0 comments on commit 51518af

Please sign in to comment.