From 616efbc796f581fe3e32067075aae1ebf5b9901d Mon Sep 17 00:00:00 2001 From: M1n-0 <145598371+M1n-0@users.noreply.github.com> Date: Wed, 5 Jun 2024 20:03:57 +0200 Subject: [PATCH] add /test in the js --- app.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.js b/app.js index 214d40c..cf77459 100644 --- a/app.js +++ b/app.js @@ -14,6 +14,10 @@ app.get('/', (req, res) => { res.sendFile(path.join(__dirname, 'index.html')); }); +app.get('/test', (req, res)=> { + res.sendFile(path.join(__dirname, '/html/test.html')) +}) + app.listen(port, '0.0.0.0', () => { console.log(`Example app listening at http://localhost:${port}`); });