Skip to content

Commit

Permalink
Correct serving config
Browse files Browse the repository at this point in the history
  • Loading branch information
thetarnav committed Mar 1, 2024
1 parent dd5ee4e commit 19f0381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19f0381

Please sign in to comment.