From 6070590a0e2a9e8682afbf3531f3ed11d77fcf8e Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 6 Dec 2022 16:45:52 -0800 Subject: [PATCH] Rewrite primary path as /index.html Since that's what we have Apache configured to look for. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1903531..abacb59 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const http = require('http'); const server = http.createServer(app); const port = 2122; -app.get('/', (req, res) => { +app.get('/index.html', (req, res) => { res.sendFile(__dirname + '/index.html'); }); -- 2.43.0