mirror of
				https://github.com/MHSanaei/3x-ui.git
				synced 2025-10-30 20:02:51 +00:00 
			
		
		
		
	hotfix / undefined var
This commit is contained in:
		
							parent
							
								
									876045a123
								
							
						
					
					
						commit
						7de62efc6b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -97,7 +97,7 @@ type ServerService struct { | ||||||
| func getPublicIP(url string) string { | func getPublicIP(url string) string { | ||||||
| 	var host string | 	var host string | ||||||
| 	host = os.Getenv("XUI_SERVER_IP") | 	host = os.Getenv("XUI_SERVER_IP") | ||||||
| 	if host != "" && !strings.ContainsAny(str1, "6") { | 	if host != "" && !strings.ContainsAny(url, "6") { | ||||||
| 		return host | 		return host | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 serogaq
						serogaq