This commit is contained in:
gr-dv committed 2026-11-25 18:30:00 +03:00
1 parent 6bf8c4e6e3
commit 49ddbc5531
9 files changed
+30 -31

No files matched your search

-1
View File
@@ -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,