feat: 游客登录机制完善

This commit is contained in:
binaryify
2024-04-30 15:14:32 +08:00
parent eb92cef0b2
commit 780f30f0b1
15 changed files with 24693 additions and 20 deletions

View File

@ -8,6 +8,8 @@ if (!fs.existsSync(path.resolve(tmpPath, 'anonymous_token'))) {
}
const serverMod = require('./server')
before(async () => {
const generateConfig = require('./generateConfig')
await generateConfig()
app = await serverMod.serveNcmApi({})
if (app.server && app.server.address) {