diff options
Diffstat (limited to 'http')
-rw-r--r-- | http/router.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/http/router.go b/http/router.go index 6a43499..24694b1 100644 --- a/http/router.go +++ b/http/router.go @@ -58,6 +58,7 @@ func (s *Router) Start(zapWriter io.Writer) { render(c, resource, err) }) + //TODO use content addressing here so we can be cache friendly (like /actors/:actor/avatar/:avatar_sha256) // Actor avatar router.GET("/actors/:actor/avatar", func(c *gin.Context) { actorParam := c.Param("actor") |