refactor(app): 重构应用并添加开发脚本

- 移除了登录路由
- 添加了 nodemon 开发脚本
- 引入了 nodemon 依赖
- 在 verifyThirdPartyToken 中添加了日志输出
This commit is contained in:
aixianling
2025-02-25 17:40:08 +08:00
parent 5d36226b02
commit b895f8f247
2 changed files with 5 additions and 10 deletions

View File

@@ -4,7 +4,8 @@
"description": "",
"main": "app.js",
"scripts": {
"start": "node app.js"
"start": "node app.js",
"dev": "nodemon app.js"
},
"author": "kubbo",
"license": "ISC",
@@ -14,6 +15,7 @@
"koa": "^2.15.4",
"koa-bodyparser": "^4.4.1",
"koa-jwt": "^4.0.4",
"koa-router": "^13.0.1"
"koa-router": "^13.0.1",
"nodemon": "^3.0.2"
}
}
}