lamo i screwed trust proxy

This commit is contained in:
Alex Janka 2017-06-02 22:38:48 +10:00
parent a251f8a532
commit cc681085c6

View file

@ -8,7 +8,7 @@ import HashMap = require('hashmap');
import { IPGeoJson } from './ip_geo';
var app = express();
app.enable('trust-proxy');
app.enable('trust proxy');
var cache = new HashMap();
app.engine('handlebars', expresshb({ defaultLayout: 'main' }));