forked from mirrors/amnezia-wg-easy
		
	Server.js: remove cookie setting
Proxy is recommended else use only internally
This commit is contained in:
		
							parent
							
								
									9a35b56f5c
								
							
						
					
					
						commit
						ee5a2c6c5a
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -33,9 +33,6 @@ module.exports = class Server {
 | 
			
		|||
        secret: crypto.randomBytes(256).toString('hex'),
 | 
			
		||||
        resave: true,
 | 
			
		||||
        saveUninitialized: true,
 | 
			
		||||
        cookie: {
 | 
			
		||||
          httpOnly: true,
 | 
			
		||||
        },
 | 
			
		||||
      }))
 | 
			
		||||
 | 
			
		||||
      .get('/api/release', (Util.promisify(async () => {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue