[反向代理]修复websocket某些配置无法保存的问题

This commit is contained in:
刘祥超
2020-11-30 20:01:03 +08:00
parent e2a0fcbd8c
commit 56080a5553

View File

@@ -144,6 +144,8 @@ func (this *HTTPWebsocketDAO) UpdateWebsocket(websocketId int64, handshakeTimeou
return err
}
op.AllowedOrigins = originsJSON
} else {
op.AllowedOrigins = "[]"
}
op.RequestSameOrigin = requestSameOrigin
op.RequestOrigin = requestOrigin