mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Removed ClickOnce.
This commit is contained in:
		
							parent
							
								
									06f0f8cb43
								
							
						
					
					
						commit
						26f9e13c39
					
				
					 12 changed files with 12 additions and 614 deletions
				
			
		| 
						 | 
				
			
			@ -114,7 +114,6 @@ module.exports.CreateRedirServer = function (parent, db, args, func) {
 | 
			
		|||
        var url = parent.config.domains[i].url;
 | 
			
		||||
        obj.app.get(url, performRedirection); // Root redirection
 | 
			
		||||
        obj.app.get(url + 'player.htm', performRedirection); // Player redirection
 | 
			
		||||
        obj.app.use(url + 'clickonce', obj.express.static(obj.parent.path.join(__dirname, "public/clickonce"))); // Indicates the clickonce folder is public
 | 
			
		||||
 | 
			
		||||
        // Setup all of the redirections to HTTPS
 | 
			
		||||
        const redirections = ['terms', 'logout', 'MeshServerRootCert.cer', 'mescript.ashx', 'checkmail', 'agentinvite', 'messenger', 'meshosxagent', 'devicepowerevents.ashx', 'downloadfile.ashx', 'userfiles/*', 'webrelay.ashx', 'health.ashx', 'logo.png', 'welcome.jpg'];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue