mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +08:00
This commit is contained in:
@@ -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