diff --git a/app/controllers/app.js b/app/controllers/app.js index 311b3c56..8f59d7fb 100755 --- a/app/controllers/app.js +++ b/app/controllers/app.js @@ -47,6 +47,7 @@ var tableCache = LRU({ app.use(express.bodyParser()); app.enable('jsonp callback'); +app.set("trust proxy", true); // basic routing app.options('*', function(req,res) { setCrossDomain(res); res.end(); });