From 1fcccd10f1230e21b700e62410d3289800e0a1b8 Mon Sep 17 00:00:00 2001 From: DeNNii Date: Fri, 16 Jan 2026 18:29:57 +1100 Subject: [PATCH] Fix: correctly serve .html files as text/html in proxy server --- proxy-server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/proxy-server.js b/proxy-server.js index e763e0f..53acf3b 100644 --- a/proxy-server.js +++ b/proxy-server.js @@ -138,6 +138,7 @@ if (cluster.isMaster) { const extname = path.extname(filePath).toLowerCase(); let contentType = 'text/html'; const mimeTypes = { + '.html': 'text/html', '.js': 'text/javascript', '.css': 'text/css', '.png': 'image/png',