complete redesign: use nodejs on server instead of php - documentation to be updated
This commit is contained in:
		
							
								
								
									
										10
									
								
								nodejs/routes/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								nodejs/routes/index.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * GET home page.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
exports.index = function(req, res) {
 | 
			
		||||
  res.render('index', {
 | 
			
		||||
      projecturl: "https://dev.marc.waeckerlin.org/redmine/projects/safechat/embedded/index.html"
 | 
			
		||||
  });
 | 
			
		||||
};
 | 
			
		||||
		Reference in New Issue
	
	Block a user