mirror of
				https://github.com/KevinMidboe/zoff.git
				synced 2025-10-29 18:00:23 +00:00 
			
		
		
		
	Added trust proxy
This commit is contained in:
		| @@ -29,6 +29,7 @@ mongoose.connect(url); | ||||
|  | ||||
| app.engine('handlebars', hbs.engine); | ||||
| app.set('view engine', 'handlebars'); | ||||
| app.set('trust proxy', '127.0.0.1'); | ||||
| app.enable('view cache'); | ||||
| app.set('views', publicPath); | ||||
| app.use(bodyParser.urlencoded({ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user