diff --git a/cmd/server/main.go b/cmd/server/main.go index 23028b1..0e99644 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -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()