mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-22 23:51:23 +08:00
修复了express.static的路径问题
把express.static的路径改成绝对路径,防止在使用pm2部署的时候由于cwd不确定产生static文件404的问题
This commit is contained in:
+10
-2
@@ -8,9 +8,17 @@
|
||||
"precommit": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.js": ["prettier --write", "git add"]
|
||||
"*.js": [
|
||||
"prettier --write",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"keywords": ["网易云音乐", "网易云", "音乐", "网易云音乐nodejs"],
|
||||
"keywords": [
|
||||
"网易云音乐",
|
||||
"网易云",
|
||||
"音乐",
|
||||
"网易云音乐nodejs"
|
||||
],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user