|
10 months ago | |
---|---|---|
.gitignore | 10 months ago | |
Dockerfile | 10 months ago | |
README.md | 10 months ago | |
go.mod | 10 months ago | |
go.sum | 10 months ago | |
main.go | 10 months ago |
faila, but simpler. Throw this binary in a folder and it’ll be hosted
$ ./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")
If you want to redirect to another page, create an index.html
in the folder that should redirect with the following content:
<meta http-equiv="refresh" content="N; URL=/testb">
replacing /testb
with the place where you’d like to be redirected to