Merge branch 'pr/tuzi3040/6741'

This commit is contained in:
DIYgod
2021-01-21 17:10:30 +08:00
4 changed files with 5 additions and 5 deletions

View File

@@ -52,7 +52,7 @@ module.exports = async (ctx) => {
if (!config.debugInfo || config.debugInfo === 'false') {
showDebug = false;
} else {
showDebug = config.debugInfo === true || config.debugInfo === ctx.query.debug;
showDebug = config.debugInfo === 'true' || config.debugInfo === ctx.query.debug;
}
const { disallowRobot } = config;