This commit is contained in:
赵鑫 2022-09-04 18:37:13 +08:00
parent c5c2d28b19
commit e665a2f453

View File

@ -39,4 +39,4 @@ const server = http.createServer(function (request, response) {
})
const port = process.env.PORT || 3000
const host = process.env.HOST || 'localhost'
server.listen(port, host, () => console.log(`rpi status http server running at http://${host}:${port}`))
server.listen(port, host, () => console.log(`rpi status http server is running at http://${host}:${port}`))