mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 12:12:07 +08:00
This commit is contained in:
2
app.js
2
app.js
@ -83,7 +83,7 @@ fs.readdirSync(path.join(__dirname, 'module')).reverse().forEach(file => {
|
||||
})
|
||||
|
||||
const port = process.env.PORT || 3000
|
||||
const host = process.env.HOST || 'localhost'
|
||||
const host = process.env.HOST || '127.0.0.1'
|
||||
|
||||
app.server = app.listen(port, host, () => {
|
||||
console.log(`server running @ http://${host}:${port}`)
|
||||
|
Reference in New Issue
Block a user