From 290b8a32b7f1f77646d85f0b68344e0de2c5ebea Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Thu, 19 Mar 2026 20:16:00 +0100 Subject: [PATCH] Don't use nginx locally --- serve-locally.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/serve-locally.sh b/serve-locally.sh index d8839e2..57f6e80 100755 --- a/serve-locally.sh +++ b/serve-locally.sh @@ -26,11 +26,4 @@ if [ ! -f "$DIST_DIR/wasm/kobopatch.wasm" ]; then fi echo "Serving at http://localhost:8888" -if command -v nginx &>/dev/null; then - export PORT=8888 - envsubst '${PORT}' < "$SCRIPT_DIR/nginx.conf.template" > /tmp/kobopatch-nginx.conf - nginx -c /tmp/kobopatch-nginx.conf -g 'daemon off;' -else - echo "(nginx not found, using Node.js server)" - node serve.mjs -fi +node serve.mjs