diff options
author | FChannel <> | 2022-05-02 16:03:32 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | 62edcb3745f414212ee102c13429056f02cf31bd (patch) | |
tree | 2001bfbfb562d99866ea46faec7f838ec1dc2864 /main.go | |
parent | 1ee6552559141dd5dba91abec7c81d68c56abda0 (diff) |
admin login working
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -56,9 +56,9 @@ func main() { app.Get("/followers", routes.Followers) // Admin routes - app.Get("/verify", routes.AdminVerify) - app.Get("/auth", routes.AdminAuth) - app.Get("/"+config.Key+"/", routes.AdminIndex) + app.Post("/verify", routes.AdminVerify) + app.Post("/auth", routes.AdminAuth) + app.All("/"+config.Key+"/", routes.AdminIndex) app.Get("/"+config.Key+"/addboard", routes.AdminAddBoard) app.Get("/"+config.Key+"/postnews", routes.AdminPostNews) app.Get("/"+config.Key+"/newsdelete", routes.AdminNewsDelete) |