mirror of
https://github.com/4rkal/shortr.git
synced 2024-12-05 00:51:07 +02:00
work with / in the end too
This commit is contained in:
parent
d7f09c07dd
commit
9f1a5ae971
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user