feat: rss support (#343)

* feat: rss support

* chore: go mod tidy

* chore: change route group prefix

* Update server/server.go

Co-authored-by: boojack <stevenlgtm@gmail.com>

* Update server/rss.go

Co-authored-by: boojack <stevenlgtm@gmail.com>

Co-authored-by: boojack <stevenlgtm@gmail.com>
This commit is contained in:
Zhou Yunliang
2022-10-26 20:13:02 +08:00
committed by GitHub
parent fe5ba6850b
commit 4e00b1b0cd
5 changed files with 89 additions and 0 deletions

View File

@ -56,6 +56,9 @@ func NewServer(profile *profile.Profile) *Server {
Profile: profile,
}
rootGroup := e.Group("")
s.registerRSSRoutes(rootGroup)
webhookGroup := e.Group("/h")
s.registerResourcePublicRoutes(webhookGroup)