Skip to content

Commit 1b5eeb7

Browse files
committed
Fix res bug
1 parent 67a3874 commit 1b5eeb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const app = express()
55
// #############################################################################
66
// Logs all request paths and method
77
app.use(function (req, res, next) {
8-
res.res.set('x-timestamp', Date.now())
8+
res.set('x-timestamp', Date.now())
99
res.set('x-powered-by', 'cyclic.sh')
1010
console.log(`[${new Date().toISOString()}] ${req.ip} ${req.method} ${req.path}`);
1111
next();

0 commit comments

Comments
 (0)