about summary refs log tree commit diff
path: root/README.md
blob: 4706872d352258532335fdc16c68fc50aeed348d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# faila2

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