remove auth from /image/:id endpoint
This commit is contained in:
@@ -22,7 +22,7 @@ func main() {
|
||||
e.Use(middleware.Recover())
|
||||
|
||||
e.POST("/upload", handlers.UploadPost, handlers.AuthMiddleware)
|
||||
e.GET("/image/:id", handlers.ImageGet, handlers.AuthMiddleware)
|
||||
e.GET("/image/:id", handlers.ImageGet)
|
||||
e.GET("/about", handlers.AboutGet, handlers.AuthMiddleware)
|
||||
|
||||
port := config.Port()
|
||||
|
Reference in New Issue
Block a user