mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 20:27:52 +08:00
test: filter_time
This commit is contained in:
@@ -9,10 +9,6 @@ module.exports = async (ctx, next) => {
|
||||
'Content-Type': 'text/html; charset=UTF-8',
|
||||
});
|
||||
ctx.body = `RSSHub 发生了一些意外: <pre>${err instanceof Error ? err.stack : err}</pre>`;
|
||||
if (err.status === 401) {
|
||||
ctx.status = 401;
|
||||
} else {
|
||||
ctx.status = 404;
|
||||
}
|
||||
ctx.status = 404;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user