try something

This commit is contained in:
lnino
2025-02-01 03:19:53 +01:00
parent 3e2ac4c4a8
commit ad039a70a3

2
app.js
View File

@@ -11,7 +11,7 @@ app.use('/html', express.static(path.join(__dirname, 'html')));
// Serve the index.html file at the root URL // Serve the index.html file at the root URL
app.get('/', (req, res) => { app.get('/', (req, res) => {
res.sendFile(path.join(__dirname, 'index.html')); res.sendFile(path.join(__dirname, 'index.js'));
}); });
// Serve the test.html file at /test URL // Serve the test.html file at /test URL