mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Web relay with DNS now uses the main HTTPS alias port when set, #4210.
This commit is contained in:
		
							parent
							
								
									07aa35898a
								
							
						
					
					
						commit
						568097597c
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2864,7 +2864,7 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF
 | 
			
		|||
                    webstate: encodeURIComponent(webstate).replace(/'/g, '%27'),
 | 
			
		||||
                    amtscanoptions: amtscanoptions,
 | 
			
		||||
                    pluginHandler: (parent.pluginHandler == null) ? 'null' : parent.pluginHandler.prepExports(),
 | 
			
		||||
                    webRelayPort: ((typeof args.relaydns == 'string') ? args.port : ((parent.webrelayserver != null) ? ((typeof args.relayaliasport == 'number') ? args.relayaliasport : parent.webrelayserver.port) : 0)),
 | 
			
		||||
                    webRelayPort: ((typeof args.relaydns == 'string') ? ((typeof args.aliasport == 'number') ? args.aliasport : args.port) : ((parent.webrelayserver != null) ? ((typeof args.relayaliasport == 'number') ? args.relayaliasport : parent.webrelayserver.port) : 0)),
 | 
			
		||||
                    webRelayDns: ((typeof args.relaydns == 'string') ? args.relaydns : '')
 | 
			
		||||
                }, dbGetFunc.req, domain), user);
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue