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')); })