mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-03 18:48:12 +08:00
test: fix debug test case
This commit is contained in:
@@ -21,4 +21,6 @@ module.exports = async (ctx, next) => {
|
||||
if (ctx.response.get('X-Koa-Redis-Cache') || ctx.response.get('X-Koa-Memory-Cache')) {
|
||||
ctx.debug.hitCache++;
|
||||
}
|
||||
|
||||
ctx.state.debuged = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user