add language selector to admin

This commit is contained in:
Harvey Tindall
2021-01-15 14:43:32 +00:00
parent a3351f4da8
commit 4679c6f355
6 changed files with 40 additions and 24 deletions
+1 -1
View File
@@ -577,7 +577,7 @@ func start(asDaemon, firstCall bool) {
router.GET("/accounts", app.AdminPage)
router.GET("/settings", app.AdminPage)
router.GET("/lang", app.GetLanguages)
router.GET("/lang/:page", app.GetLanguages)
router.GET("/token/login", app.getTokenLogin)
router.GET("/token/refresh", app.getTokenRefresh)
router.POST("/newUser", app.NewUser)