fix
This commit is contained in:
parent
7280c38b16
commit
06e4f1f96e
|
@ -9,7 +9,6 @@ import (
|
|||
"fusenapi/utils/auth"
|
||||
"github.com/google/uuid"
|
||||
"github.com/gorilla/websocket"
|
||||
"github.com/zeromicro/go-zero/rest/httpx"
|
||||
"net/http"
|
||||
"sync"
|
||||
"time"
|
||||
|
@ -49,10 +48,6 @@ var (
|
|||
CheckOrigin: func(r *http.Request) bool {
|
||||
return true
|
||||
},
|
||||
Error: func(w http.ResponseWriter, r *http.Request, status int, reason error) {
|
||||
httpx.ErrorCtx(r.Context(), w, reason)
|
||||
return
|
||||
},
|
||||
WriteBufferPool: &buffPool,
|
||||
}
|
||||
//连接map池
|
||||
|
|
Loading…
Reference in New Issue
Block a user