Browse Source

将日志 与 机器人状态详情进行缓存,

hl 3 weeks ago
parent
commit
de19642edd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/web.js

+ 1 - 1
src/web.js

@@ -28,7 +28,7 @@ function init() {
             var md5 = req.headers.catilla
             //默认32位
             const md5Str = crypto.createHash('md5').update(k + timestamp).digest('hex');
-            logger.info(JSON.stringify(md5Str))
+            logger.info(JSON.stringify(md5Str)+'\t'+req.url)
             if (md5 === md5Str) {
                 next();
             } else {