mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +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