From: Ardis Lu Date: Mon, 27 Sep 2021 06:36:05 +0000 (-0700) Subject: Update recommended web server in README X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=836ab9cb607f6fdad09c31db7aa3e1fc3b0beaf2;p=ardislu.dev Update recommended web server in README http-server requires no additional configuration out of the box --- diff --git a/README.md b/README.md index 8128c55..6d1c5c8 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,6 @@ Cloudflare Pages automatically redirects any `HTTP 404 Not Found` to `404.html` 1. Install Node.js (this is ONLY used for the web server; the website itself does not use Node.js) -2. `npm i -g local-web-server` +2. `npm i -g http-server` -3. `ws --rewrite '/posts/:id -> 404.html'` +3. `http-server`