正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -53,7 +53,9 @@ app.use(async (ctx, next) => { | @@ -53,7 +53,9 @@ app.use(async (ctx, next) => { | ||
| 53 | try{ | 53 | try{ |
| 54 | const start = new Date(); | 54 | const start = new Date(); |
| 55 | const url = ctx.request.url.split('?'); | 55 | const url = ctx.request.url.split('?'); |
| 56 | - if(filterUrl.indexOf(url[0]) != -1){ | 56 | + if(true){ |
| 57 | + await next(); | ||
| 58 | + }else if(filterUrl.indexOf(url[0]) != -1){ | ||
| 57 | 59 | ||
| 58 | await next(); | 60 | await next(); |
| 59 | }else if(!ctx.header.token){ | 61 | }else if(!ctx.header.token){ |
-
请 注册 或 登录 后发表评论