cancel ws
This commit is contained in:
parent
00c4baba5f
commit
724249bf6a
|
@ -10,10 +10,6 @@ import (
|
||||||
func InitOffline(r *gin.Engine) {
|
func InitOffline(r *gin.Engine) {
|
||||||
r.HandleMethodNotAllowed = true
|
r.HandleMethodNotAllowed = true
|
||||||
|
|
||||||
// websocket长链接
|
|
||||||
r.GET("/", ServeFile)
|
|
||||||
r.GET("/ws", HandleWs)
|
|
||||||
|
|
||||||
// 视频审核callback
|
// 视频审核callback
|
||||||
extVideoModerationGroup := r.Group("/offline_ext/video_moderation")
|
extVideoModerationGroup := r.Group("/offline_ext/video_moderation")
|
||||||
extVideoModerationGroup.POST("callback", middleware.FORMParamValidator(video_moderation_proto.ExtVideoModerationReq{}), VideoModerationCallback)
|
extVideoModerationGroup.POST("callback", middleware.FORMParamValidator(video_moderation_proto.ExtVideoModerationReq{}), VideoModerationCallback)
|
||||||
|
|
Loading…
Reference in New Issue