mirror of
https://github.com/lxc/incus.git
synced 2026-02-05 09:46:19 +01:00
shared/ws: Make golangci-lint clean
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
@@ -9,6 +9,6 @@ import (
|
||||
|
||||
// Upgrader is a websocket upgrader which ignores the request Origin.
|
||||
var Upgrader = websocket.Upgrader{
|
||||
CheckOrigin: func(r *http.Request) bool { return true },
|
||||
CheckOrigin: func(_ *http.Request) bool { return true },
|
||||
HandshakeTimeout: time.Second * 5,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user