From 836ab9cb607f6fdad09c31db7aa3e1fc3b0beaf2 Mon Sep 17 00:00:00 2001 From: Ardis Lu Date: Sun, 26 Sep 2021 23:36:05 -0700 Subject: [PATCH] Update recommended web server in README http-server requires no additional configuration out of the box --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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` -- 2.47.3