Just a try
This commit is contained in:
parent
f52761f638
commit
1862247509
|
@ -36,7 +36,7 @@ app.use(bodyParser.json());
|
||||||
|
|
||||||
app.use(function(req, res, next) {
|
app.use(function(req, res, next) {
|
||||||
// Log connection
|
// Log connection
|
||||||
console.log('[REQ] ' + new Date() + ' ' + req.connection.remoteAddress + ' : ' + req.url);
|
console.log('[REQ] ' + new Date() + ' ' + req.headers['X-Forwarded-For'] + ' : ' + req.url);
|
||||||
|
|
||||||
res.locals.title = "3DUI";
|
res.locals.title = "3DUI";
|
||||||
res.locals.urls = urls;
|
res.locals.urls = urls;
|
||||||
|
|
Loading…
Reference in New Issue