From 62c26cd809a156aa1b20f53f29534a09b38b3496 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sun, 31 Oct 2021 20:23:13 +0100 Subject: Document --index and --spa --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 17b5f11..dc95a3b 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,14 @@ Sometimes this is just a more practical and quick way than doing things properly ### Serve a single file: miniserve linux-distro.iso + +### Set a custom index file to serve instead of a file listing: + + miniserve --index test.html + +### Serve an SPA (Single Page Application) so that non-existent paths are forwarded to the SPA's router instead + + miniserve --spa --index index.html ### Require username/password: -- cgit v1.2.3