]> git.ardis.lu - ardislu.dev/commitdiff
Update recommended web server in README
authorArdis Lu <ardisglu@gmail.com>
Mon, 27 Sep 2021 06:36:05 +0000 (23:36 -0700)
committerArdis Lu <ardisglu@gmail.com>
Mon, 27 Sep 2021 06:36:05 +0000 (23:36 -0700)
http-server requires no additional configuration out of the box

README.md

index 8128c55fab131f4d9515f5163f23befdc22c5f65..6d1c5c848cf4783101f97d74762222633565a2b1 100644 (file)
--- 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`
This page took 0.039486 seconds and 4 git commands to generate.