update go server

This commit is contained in:
Hailey
2024-06-17 11:07:28 -07:00
parent 7253b0226c
commit 59443839d7
+4
View File
@@ -221,6 +221,10 @@ func serve(cctx *cli.Context) error {
e.GET("/profile/:handleOrDID/post/:rkey/liked-by", server.WebGeneric)
e.GET("/profile/:handleOrDID/post/:rkey/reposted-by", server.WebGeneric)
// starter packs
e.GET("/starter-pack/:handleOrDID/:rkey", server.WebGeneric)
e.GET("/start/:handleOrDID/:rkey", server.WebGeneric)
// Start the server.
log.Infof("starting server address=%s", httpAddress)
go func() {