remove auth from /image/:id endpoint

This commit is contained in:
Carl Pearson
2025-05-30 10:13:02 -06:00
parent 96cb5bafcd
commit e390ea12da

View File

@@ -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()