修复打包axios告警错误,简化日志处理

This commit is contained in:
2025-09-27 17:03:42 +08:00
parent da69fa51b8
commit 77b32e4114
5 changed files with 928 additions and 60 deletions
+9 -8
View File
@@ -5,12 +5,13 @@
"main": "backend/start.js",
"bin": "backend/start.js",
"pkg": {
"targets": ["node18-win-x64"],
"targets": [
"node18-win-x64"
],
"outputPath": "dist",
"assets": [
"backend/**/*",
"ui/dist/**/*",
"node_modules/axios/**/*"
"ui/dist/**/*"
]
},
"scripts": {
@@ -23,11 +24,10 @@
},
"dependencies": {
"appdata-path": "^1.0.0",
"axios": "^1.11.0",
"axios": "0.27.0",
"cors": "^2.8.5",
"crypto": "^1.0.1",
"express": "^5.1.0",
"fs-extra": "^11.3.1",
"fs-extra": "^11.3.2",
"js-base64": "^3.7.8",
"moment": "^2.30.1",
"morgan": "^1.10.1",
@@ -36,9 +36,10 @@
"uuid": "^11.1.0"
},
"devDependencies": {
"pe-library": "^1.0.1",
"pkg": "^5.8.1",
"readline-sync": "^1.4.10",
"resedit": "^2.0.3",
"pe-library": "^1.0.1"
"resedit": "^2.0.3"
},
"keywords": [
"pixiv",