init(web): add settings page

This commit is contained in:
2025-01-07 13:25:25 +03:00
parent 3d35de3234
commit 14a7104c5f
5 changed files with 164 additions and 0 deletions
+1
View File
@@ -21,6 +21,7 @@ func Serve(addr string) {
r.Static("/static", "./static")
r.GET("/", api.MiddlewareAuth, root)
r.GET("/quotes", api.MiddlewareAuth, middlewareAuth, quotes)
r.GET("/settings", api.MiddlewareAuth, middlewareAuth, settings)
r.Run(addr)
}