From bd746dcdd04cb241ace3d752948cdd23f0ba15c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=8C=BF?= Date: Tue, 9 Sep 2025 11:32:13 +0800 Subject: [PATCH] 22 --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index a878d23..48bb675 100644 --- a/index.js +++ b/index.js @@ -23,7 +23,6 @@ app.get('/ip', async (req, res) => { }) app.get('/', async (req, res) => { - // 使用sendFile方法发送HTML文件 res.sendFile(join(__dirname, 'public', 'index.html')); })