gitpush
This commit is contained in:
parent
d98d692d09
commit
49d96d4bdd
@ -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 server = app.listen(port, host, () => console.log(`rpi sense hat server is running at port http://${host}:${port}`))
|
||||||
const io = socketio(server)
|
const io = socketio(server)
|
||||||
|
|
||||||
app.get('/', (req, res) => {
|
app.get('/sensehat', (req, res) => {
|
||||||
res.sendStatus('ok', 200)
|
res.sendStatus('ok', 200)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user