修复:注释掉调试信息以清理控制台输出

This commit is contained in:
2026-01-21 22:58:51 +08:00
parent e5c3ec3f79
commit dde98e437b

View File

@@ -9,7 +9,7 @@ app.route({
description: 'Token 权限验证,临时方案',
}).define(async (ctx) => {
// token authentication
console.log('token', ctx.state);
// console.log('token', ctx.state);
ctx.state.token = 'abc';
}).addTo(app);
const isPm2 = !!process.env.PM2_HOME;