Add server-side routes
parent
3c89dd40f9
commit
ad8778ab10
|
@ -112,6 +112,7 @@ func serve(cctx *cli.Context) error {
|
||||||
e.GET("/moderation/blocked-accounts", server.WebGeneric)
|
e.GET("/moderation/blocked-accounts", server.WebGeneric)
|
||||||
e.GET("/settings", server.WebGeneric)
|
e.GET("/settings", server.WebGeneric)
|
||||||
e.GET("/settings/app-passwords", server.WebGeneric)
|
e.GET("/settings/app-passwords", server.WebGeneric)
|
||||||
|
e.GET("/settings/saved-feeds", server.WebGeneric)
|
||||||
e.GET("/sys/debug", server.WebGeneric)
|
e.GET("/sys/debug", server.WebGeneric)
|
||||||
e.GET("/sys/log", server.WebGeneric)
|
e.GET("/sys/log", server.WebGeneric)
|
||||||
e.GET("/support", server.WebGeneric)
|
e.GET("/support", server.WebGeneric)
|
||||||
|
@ -125,6 +126,8 @@ func serve(cctx *cli.Context) error {
|
||||||
e.GET("/profile/:handle/follows", server.WebGeneric)
|
e.GET("/profile/:handle/follows", server.WebGeneric)
|
||||||
e.GET("/profile/:handle/followers", server.WebGeneric)
|
e.GET("/profile/:handle/followers", server.WebGeneric)
|
||||||
e.GET("/profile/:handle/lists/:rkey", server.WebGeneric)
|
e.GET("/profile/:handle/lists/:rkey", server.WebGeneric)
|
||||||
|
e.GET("/profile/:handle/feed/:rkey", server.WebGeneric)
|
||||||
|
e.GET("/profile/:handle/feed/:rkey/liked-by", server.WebGeneric)
|
||||||
|
|
||||||
// post endpoints; only first populates info
|
// post endpoints; only first populates info
|
||||||
e.GET("/profile/:handle/post/:rkey", server.WebPost)
|
e.GET("/profile/:handle/post/:rkey", server.WebPost)
|
||||||
|
|
Loading…
Reference in New Issue