mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 04:02:29 +02:00
Fix landing when non-empty path prefix is set
This commit is contained in:
@@ -30,7 +30,10 @@ func buildRouter() *router.Router {
|
||||
r := router.New(config.PathPrefix)
|
||||
|
||||
r.GET("/", handleLanding, true)
|
||||
r.GET("", handleLanding, true)
|
||||
|
||||
r.GET("/", withMetrics(withPanicHandler(withCORS(withSecret(handleProcessing)))), false)
|
||||
|
||||
r.HEAD("/", withCORS(handleHead), false)
|
||||
r.OPTIONS("/", withCORS(handleHead), false)
|
||||
|
||||
|
Reference in New Issue
Block a user