aboutsummaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-08 13:52:04 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-08 13:52:04 +0000
commita3ae6eaa65744014c225e82d142b217b8ce78488 (patch)
treee2904aad336adba74c0e9baf09fb40c97cc028ca /http
parentf50a36d5cc69c095ba4a5d4a3d240c5284e2b234 (diff)
downloadcommunique-a3ae6eaa65744014c225e82d142b217b8ce78488.tar.gz
add todo
Diffstat (limited to 'http')
-rw-r--r--http/router.go1
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")