修复:注释掉调试信息以清理控制台输出
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user