登录:fix
This commit is contained in:
@@ -19,8 +19,8 @@ function aesDecrypt(data, key, iv) {
|
|||||||
|
|
||||||
module.exports = options => {
|
module.exports = options => {
|
||||||
return async function parmsDecode(ctx: Context, next) {
|
return async function parmsDecode(ctx: Context, next) {
|
||||||
console.log(ctx.request.url.match(/\/dev/))
|
let m = ctx.request.url.indexOf("/dev");
|
||||||
if(ctx.request.url.match(/\/dev/)) {
|
if(m == 0) {
|
||||||
await next();
|
await next();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user