mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed 404 error with mstsc.html, #3927
This commit is contained in:
		
							parent
							
								
									09881d06f5
								
							
						
					
					
						commit
						96dab9ab3e
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -145,7 +145,7 @@ Type.prototype.read = function(s) { | |||
| 		 | ||||
| 		if(oldValue !== this.value) { | ||||
| 			log.error('constant value mismatch ' + oldValue + ' != ' + this.value); | ||||
| 			throw new error.ProtocolError("NODE_RDP_CORE_TYPE_CONSTANT_VALUE_MISMATCH"); | ||||
|             throw new error.ProtocolError("NODE_RDP_CORE_TYPE_CONSTANT_VALUE_MISMATCH", oldValue, this.value); | ||||
| 		} | ||||
| 	} | ||||
| 	else { | ||||
|  |  | |||
|  | @ -6028,8 +6028,8 @@ module.exports.CreateWebServer = function (parent, db, args, certificates, doneF | |||
|                 }); | ||||
|             } | ||||
| 
 | ||||
|             // Setup MSTSC.js if needed
 | ||||
|             if (domain.mstsc === true) { | ||||
|             // Setup RDP unless indicated as disabled
 | ||||
|             if (domain.mstsc !== false) { | ||||
|                 obj.app.get(url + 'mstsc.html', function (req, res) { handleMSTSCRequest(req, res, 'mstsc'); }); | ||||
|                 obj.app.ws(url + 'mstscrelay.ashx', function (ws, req) { | ||||
|                     const domain = getDomain(req); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue