From 0be415e00358c023a1d64669e0f4e89644f2c04c Mon Sep 17 00:00:00 2001 From: Zhao Xin <7176466@qq.com> Date: Thu, 1 Sep 2022 08:37:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sensehat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sensehat.js b/sensehat.js index 32fc305..9f9691d 100644 --- a/sensehat.js +++ b/sensehat.js @@ -4,7 +4,7 @@ const sense = require('sense-hat-led').sync const app = express() const server = app.listen(3000, '0.0.0.0', () => console.log('server is running')) const io = socketio(server) -app.use('/sensehat/', express.static('public')) +app.use(express.static('public')) sense.setRotation(180) sense.lowLight = true flash()