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