mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 23:20:26 +08:00
[反向代理]修复websocket某些配置无法保存的问题
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user