From 25bbfaa9dc7a56e7df27bfe8e42a772286ffff74 Mon Sep 17 00:00:00 2001 From: Emile Date: Thu, 30 Apr 2020 20:05:27 +0200 Subject: super simple minimal setup --- README.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 4ef9637..4706872 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,26 @@ # faila2 -faila, but simpler. Throw this binary in a folder and it'll be hosted \ No newline at end of file +faila, but simpler. Throw this binary in a folder and it'll be hosted + +## Flags + +```bash +$ ./faila2 -h +Usage of faila2: + -dir string + path to host (default "./") + -ip string + ip to listen on (default "0.0.0.0") + -p string + port to listen on (default "8087") +``` + +## Redirects + +If you want to redirect to another page, create an `index.html` in the folder that should redirect with the following content: + +```html + +``` + +replacing `/testb` with the place where you'd like to be redirected to -- cgit 1.4.1