add /test in the js

This commit is contained in:
M1n-0
2024-06-05 20:03:57 +02:00
parent d7acaf63cd
commit 616efbc796

4
app.js
View File

@@ -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}`);
});