mirror of
https://github.com/YMFE/yapi.git
synced 2025-02-05 13:29:43 +08:00
chore: 更新Npm shrinkwrap
This commit is contained in:
parent
72397a2802
commit
7de76b5bf9
12988
npm-shrinkwrap.json
generated
12988
npm-shrinkwrap.json
generated
File diff suppressed because it is too large
Load Diff
@ -5,8 +5,10 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev-server": "nodemon server/app.js dev -L",
|
"dev-server": "nodemon server/app.js dev -L",
|
||||||
"server": "node server/app.js",
|
"install-server": "node server/install.js",
|
||||||
"install-server": "node server/install.js"
|
"dev-client": "ykit s -p 4000",
|
||||||
|
"dev": "npm run dev-server & npm run dev-client",
|
||||||
|
"server": "node server/app.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -22,7 +22,6 @@ function matchApi(apiPath, apiRule) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
module.exports = async (ctx, next) => {
|
module.exports = async (ctx, next) => {
|
||||||
yapi.commons.log('Server Recevie Request...');
|
|
||||||
let hostname = ctx.hostname;
|
let hostname = ctx.hostname;
|
||||||
let config = yapi.WEBCONFIG;
|
let config = yapi.WEBCONFIG;
|
||||||
let path = ctx.path;
|
let path = ctx.path;
|
||||||
|
Loading…
Reference in New Issue
Block a user