This commit is contained in:
赵鑫 2022-09-04 15:55:07 +08:00
parent d98d692d09
commit 49d96d4bdd

View File

@ -10,7 +10,7 @@ const app = express()
const server = app.listen(port, host, () => console.log(`rpi sense hat server is running at port http://${host}:${port}`))
const io = socketio(server)
app.get('/', (req, res) => {
app.get('/sensehat', (req, res) => {
res.sendStatus('ok', 200)
})