From cca2b14612a2d35f30141d1ac75fb65384eb6959 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 16 Feb 2024 17:57:20 -0600 Subject: [PATCH] wip --- shell/watcher.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/watcher.js b/shell/watcher.js index 4aee66b..023a7d2 100644 --- a/shell/watcher.js +++ b/shell/watcher.js @@ -119,10 +119,10 @@ const port = 1024; const server = http.createServer((req, res) => { if(req.url === '/') { // Serve the HTML file - fs.readFile(path.join(__dirname, 'index.html'), (err, data) => { + fs.readFile(path.join(__dirname, 'watcher.html'), (err, data) => { if(err) { res.writeHead(500); - res.end('Error loading index.html'); + res.end('Error loading watcher.html'); return; } res.writeHead(200, {'Content-Type': 'text/html'});