mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-02 12:42:38 +02:00
Consolidated data retrieval code.
This commit is contained in:
@@ -51,8 +51,8 @@ async function handleTimestampRequest(req, res, next) {
|
||||
}
|
||||
|
||||
async function handleFavIconRequest(req, res, next) {
|
||||
let error = new Error('Not found');
|
||||
error.status = 404;
|
||||
let err = new Error('Not found');
|
||||
err.status = 404;
|
||||
next(err);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user