fix lint
This commit is contained in:
1 parent
6bf8c4e6e3
commit
49ddbc5531
9 files changed
+30
-31
No files matched your search
@@ -46,7 +46,6 @@ func (ws Ws) Handle(ctx *request.Context) error {
|
||||
proxy.Director = func(incoming *http.Request, out http.Header) {
|
||||
setHttpHeaders(ctx, out, ws.skipAuth)
|
||||
}
|
||||
// nolint: mnd
|
||||
proxy.Upgrader = &websocket.Upgrader{
|
||||
HandshakeTimeout: 5 * time.Second,
|
||||
ReadBufferSize: 1024,
|
||||
|
||||
Reference in new issue
Block a user