mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-24 00:21:23 +08:00
update: anonymous_token 动态生成
This commit is contained in:
+2
-1
@@ -5,4 +5,5 @@ node_modules
|
|||||||
.vscode
|
.vscode
|
||||||
.history
|
.history
|
||||||
examples/moddef.json
|
examples/moddef.json
|
||||||
bin
|
bin
|
||||||
|
util/config.json
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
const generateConfig = require('./generateConfig')
|
||||||
async function start() {
|
async function start() {
|
||||||
|
await generateConfig()
|
||||||
require('./server').serveNcmApi({
|
require('./server').serveNcmApi({
|
||||||
checkVersion: true,
|
checkVersion: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user