work with / in the end too

This commit is contained in:
4rkal 2024-09-15 13:03:19 +03:00
parent d7f09c07dd
commit 9f1a5ae971

View File

@ -47,6 +47,7 @@ func main() {
e.GET("/stats", StatsHandler)
e.POST("/stats", StatsSubmissionHandler)
e.GET("/:id", RedirectHandler)
e.GET("/:id/", RedirectHandler)
e.GET("/", IndexHandler)
e.POST("/submit", SubmitHandler)