mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 16:11:24 +08:00
fix mv api error
This commit is contained in:
@@ -14,7 +14,6 @@ const app = express()
|
|||||||
// })
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 获取专辑内容
|
// 获取专辑内容
|
||||||
app.use('/album', require('./router/album'))
|
app.use('/album', require('./router/album'))
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ router.get("/", (req, res) => {
|
|||||||
music_req => {
|
music_req => {
|
||||||
res.setHeader("Content-Type", "application/json")
|
res.setHeader("Content-Type", "application/json")
|
||||||
res.send(music_req)
|
res.send(music_req)
|
||||||
console.log(Object.keys(JSON.parse(music_req).result))
|
|
||||||
},
|
},
|
||||||
err => res.status(502).send('fetch error')
|
err => res.status(502).send('fetch error')
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user