Skip to content

Commit 96144c8

Browse files
committed
Allow full path for application screenshots
1 parent 4e3dc22 commit 96144c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/registry/registry.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ func Routes(router *echo.Group) {
7272
router.GET("/", proxyListReq)
7373
router.GET("/:app", proxyReq(perms, registry.WithCache))
7474
router.GET("/:app/icon", proxyReq(authed, registry.NoCache))
75-
router.GET("/:app/screenshots/:filename", proxyReq(authed, registry.NoCache))
75+
router.GET("/:app/screenshots/*", proxyReq(authed, registry.NoCache))
7676
router.GET("/:app/:version/icon", proxyReq(authed, registry.NoCache))
77-
router.GET("/:app/:version/screenshots/:filename", proxyReq(authed, registry.NoCache))
77+
router.GET("/:app/:version/screenshots/*", proxyReq(authed, registry.NoCache))
7878
router.GET("/:app/:version", proxyReq(perms, registry.WithCache))
7979
router.GET("/:app/:channel/latest", proxyReq(perms, registry.WithCache))
8080
}

0 commit comments

Comments
 (0)