diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-08 13:52:04 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-08 13:52:04 +0000 |
commit | a3ae6eaa65744014c225e82d142b217b8ce78488 (patch) | |
tree | e2904aad336adba74c0e9baf09fb40c97cc028ca /http | |
parent | f50a36d5cc69c095ba4a5d4a3d240c5284e2b234 (diff) | |
download | communique-a3ae6eaa65744014c225e82d142b217b8ce78488.tar.gz |
add todo
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") |