Create a basic HTML page to permit usage of non-JS devices
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
nemunaire 2022-12-08 16:44:17 +01:00
commit 7df46e03e0
7 changed files with 236 additions and 0 deletions

1
app.go
View file

@ -49,6 +49,7 @@ func NewApp(cfg *config.Config) *App {
// Register routes
ui.DeclareRoutes(router, cfg)
ui.DeclareNoJSRoutes(router, cfg, db, app.ResetTimer)
api.DeclareRoutes(router, cfg, db, app.ResetTimer)
router.GET("/api/version", func(c *gin.Context) {