Create a basic HTML page to permit usage of non-JS devices
This commit is contained in:
parent
fa13484718
commit
7df46e03e0
7 changed files with 236 additions and 0 deletions
1
app.go
1
app.go
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue