Skip to content

Commit

Permalink
Allow full path for application screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jinroh committed May 4, 2018
1 parent 4e3dc22 commit 96144c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/registry/registry.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ func Routes(router *echo.Group) {
router.GET("/", proxyListReq)
router.GET("/:app", proxyReq(perms, registry.WithCache))
router.GET("/:app/icon", proxyReq(authed, registry.NoCache))
router.GET("/:app/screenshots/:filename", proxyReq(authed, registry.NoCache))
router.GET("/:app/screenshots/*", proxyReq(authed, registry.NoCache))
router.GET("/:app/:version/icon", proxyReq(authed, registry.NoCache))
router.GET("/:app/:version/screenshots/:filename", proxyReq(authed, registry.NoCache))
router.GET("/:app/:version/screenshots/*", proxyReq(authed, registry.NoCache))
router.GET("/:app/:version", proxyReq(perms, registry.WithCache))
router.GET("/:app/:channel/latest", proxyReq(perms, registry.WithCache))
}

0 comments on commit 96144c8

Please sign in to comment.