Keep index.html for app.js & make another for multiple device

This commit is contained in:
Nur Muhammad
2020-12-13 13:52:29 +08:00
parent f67f3b8d61
commit 9272951df7
3 changed files with 97 additions and 56 deletions

View File

@@ -18,7 +18,7 @@ app.use(express.urlencoded({
}));
app.get('/', (req, res) => {
res.sendFile('index.html', {
res.sendFile('index-multiple-device.html', {
root: __dirname
});
});