From 5caa6a5e08c02464bcbc45afc236f48add458165 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Thu, 13 Apr 2023 10:12:35 -0700 Subject: [PATCH] Update the bskyweb routes (#468) --- bskyweb/cmd/bskyweb/server.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bskyweb/cmd/bskyweb/server.go b/bskyweb/cmd/bskyweb/server.go index e703def9..0c8e9f8d 100644 --- a/bskyweb/cmd/bskyweb/server.go +++ b/bskyweb/cmd/bskyweb/server.go @@ -96,6 +96,9 @@ func serve(cctx *cli.Context) error { e.GET("/sys/log", server.WebGeneric) e.GET("/support", server.WebGeneric) e.GET("/support/privacy", server.WebGeneric) + e.GET("/support/tos", server.WebGeneric) + e.GET("/support/community-guidelines", server.WebGeneric) + e.GET("/support/copyright", server.WebGeneric) // profile endpoints; only first populates info e.GET("/profile/:handle", server.WebProfile) @@ -104,8 +107,7 @@ func serve(cctx *cli.Context) error { // post endpoints; only first populates info e.GET("/profile/:handle/post/:rkey", server.WebPost) - e.GET("/profile/:handle/post/:rkey/upvoted-by", server.WebGeneric) - e.GET("/profile/:handle/post/:rkey/downvoted-by", server.WebGeneric) + e.GET("/profile/:handle/post/:rkey/liked-by", server.WebGeneric) e.GET("/profile/:handle/post/:rkey/reposted-by", server.WebGeneric) // Mailmodo