feat: 提供养成服务内部 IM 能力
This commit is contained in:
@@ -928,6 +928,10 @@ func main() {
|
||||
mux.HandleFunc(adminQueryPrefix, func(wrt http.ResponseWriter, req *http.Request) {
|
||||
serveInternalAdminQuery(wrt, req, adminQueryPrefix)
|
||||
})
|
||||
cultivatePrefix := config.ApiPath + "internal/cultivate/"
|
||||
mux.HandleFunc(cultivatePrefix, func(wrt http.ResponseWriter, req *http.Request) {
|
||||
serveInternalCultivate(wrt, req, cultivatePrefix)
|
||||
})
|
||||
// Handle long polling clients. Enable compression.
|
||||
mux.Handle(config.ApiPath+"v0/channels/lp", gh.CompressHandler(http.HandlerFunc(serveLongPoll)))
|
||||
if config.Media != nil {
|
||||
|
||||
Reference in New Issue
Block a user