mirror of
https://github.com/OpenMaxIO/openmaxio-object-browser
synced 2026-07-01 07:41:18 -07:00
Fixed lint issues with files (#3234)
Signed-off-by: Benjamin Perez <benjamin@bexsoft.net>
This commit is contained in:
@@ -164,7 +164,7 @@ func serveWS(w http.ResponseWriter, req *http.Request) {
|
||||
// can't validate the proper Origin since we don't know the source domain, so we are going
|
||||
// to allow the connection to be upgraded in this case.
|
||||
if getSubPath() != "/" || getConsoleDevMode() {
|
||||
upgrader.CheckOrigin = func(r *http.Request) bool {
|
||||
upgrader.CheckOrigin = func(_ *http.Request) bool {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user