mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed MeshCMD AMT DNS suffix on Linux.
This commit is contained in:
		
							parent
							
								
									345f3c12b4
								
							
						
					
					
						commit
						7766e1ca07
					
				
					 7 changed files with 64 additions and 60 deletions
				
			
		
							
								
								
									
										14
									
								
								webserver.js
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								webserver.js
									
										
									
									
									
								
							|  | @ -5721,20 +5721,6 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) { | |||
|                 if (obj.parent.config.firebase.relayserver) { parent.debug('email', 'Firebase-relay-handler'); obj.app.ws(url + 'firebaserelay.aspx', handleFirebaseRelayRequest); } | ||||
|             } | ||||
| 
 | ||||
|             /* | ||||
|             // Testing code only, display a POST and return 200 OK
 | ||||
|             obj.app.post(url + 'post.aspx', function (req, res) { | ||||
|                 var body = []; | ||||
|                 req.on('data', function(chunk) { | ||||
|                     body.push(chunk); | ||||
|                 }).on('end', () => { | ||||
|                     body = Buffer.concat(body).toString(); | ||||
|                     console.log(body); | ||||
|                     res.sendStatus(200); | ||||
|                 }); | ||||
|             }); | ||||
|             */ | ||||
| 
 | ||||
|             // Setup auth strategies using passport if needed
 | ||||
|             if (typeof domain.authstrategies == 'object') { | ||||
|                 const passport = domain.passport = require('passport'); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue