about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2020-04-30 20:05:27 +0200
committerEmile <hanemile@protonmail.com>2020-04-30 20:05:27 +0200
commit25bbfaa9dc7a56e7df27bfe8e42a772286ffff74 (patch)
treea353712a13afc324b270926075d5ff689189f52d /README.md
parent7e7ac716629206a75ce308c775ab2c6eeeaaaa52 (diff)
super simple minimal setup
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 24 insertions, 1 deletions
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
+<meta http-equiv="refresh" content="N; URL=/testb">
+```
+
+replacing `/testb` with the place where you'd like to be redirected to