Version 0.2.0 - PREVERSION - Ajout de certaines fonctionnalités
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Neutral/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Neutral/pipeline/head This commit looks good
				
			This commit is contained in:
		
							
								
								
									
										16
									
								
								routes/internal.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								routes/internal.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
var express = require('express');
 | 
			
		||||
var router = express.Router();
 | 
			
		||||
var path = require("path")
 | 
			
		||||
 | 
			
		||||
router.get("/socketlink", (req,res,next) => {
 | 
			
		||||
        
 | 
			
		||||
    if(process.env.DEV == true) {
 | 
			
		||||
 | 
			
		||||
        res.send("ws://localhost:3001")
 | 
			
		||||
    } else {
 | 
			
		||||
        res.send("ws://neutral.raphix.fr")
 | 
			
		||||
    }
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
module.exports = router;
 | 
			
		||||
		Reference in New Issue
	
	Block a user