mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-27 05:30:14 +08:00
6 lines
145 B
JavaScript
6 lines
145 B
JavaScript
|
module.exports = async (ctx, next) => {
|
||
|
let path = ctx.path;
|
||
|
console.log(path)
|
||
|
console.log(ctx.hostname)
|
||
|
if(next) await next();
|
||
|
}
|