From 19f0381e6fe5780471ac132b60a961dfd6ae7571 Mon Sep 17 00:00:00 2001 From: Damian Tarnawski Date: Fri, 1 Mar 2024 16:46:33 +0100 Subject: [PATCH] Correct serving config --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index e3f82f1..7606b67 100644 --- a/main.js +++ b/main.js @@ -112,7 +112,7 @@ const command_handlers = { ) { if (!req.url || req.method !== "GET") return end404(req, res) - if (req.url === "/" + CONFIG_FILENAME) { + if (req.url === "/" + CONFIG_OUT_FILENAME) { await config_promise } else if (req.url === "/" + WASM_FILENAME) { await wasm_build_promise