客户端ip传入完善

This commit is contained in:
binaryify
2022-06-07 11:03:18 +08:00
parent 1591d0df6f
commit e174de0448
3 changed files with 22 additions and 3 deletions

1
app.js
View File

@ -1,6 +1,7 @@
#!/usr/bin/env node
const generateConfig = require('./generateConfig')
async function start() {
// 如果需要手动修改anonymous_token需要注释generateConfig调用
await generateConfig()
require('./server').serveNcmApi({
checkVersion: true,