cleaned up auth

This commit is contained in:
Harvey Tindall
2020-08-23 14:59:07 +01:00
parent 0e39b2b699
commit d12335bb4a
3 changed files with 204 additions and 175 deletions
+1 -1
View File
@@ -324,7 +324,7 @@ func main() {
}
if !firstRun {
router.GET("/", app.AdminPage)
router.GET("/getToken", app.GetToken)
router.GET("/getToken", app.getToken)
router.POST("/newUser", app.NewUser)
router.Use(static.Serve("/invite/", static.LocalFile(filepath.Join(app.local_path, "static"), false)))
router.GET("/invite/:invCode", app.InviteProxy)