mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	修复一个保存服务错误的Bug
This commit is contained in:
		@@ -159,7 +159,7 @@ func (this *ReverseProxyDAO) CreateReverseProxy(tx *dbs.Tx, adminId int64, userI
 | 
			
		||||
	op.State = ReverseProxyStateEnabled
 | 
			
		||||
	op.AdminId = adminId
 | 
			
		||||
	op.UserId = userId
 | 
			
		||||
	op.AddHeaders = []string{"X-Real-IP"}
 | 
			
		||||
	op.AddHeaders = "[\"X-Real-IP\"]"
 | 
			
		||||
 | 
			
		||||
	if len(schedulingJSON) > 0 {
 | 
			
		||||
		op.Scheduling = string(schedulingJSON)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user