A simple cli utility for service static website files.
|
|
před 1 rokem | |
|---|---|---|
| .gitignore | před 9 roky | |
| go.mod | před 1 rokem | |
| go.sum | před 1 rokem | |
| license | před 9 roky | |
| main.go | před 9 roky | |
| main_test.go | před 9 roky | |
| readme.md | před 9 roky |
A utility that makes testing static web files stupidly simple.
Written in go, it produces a cli that when run from any folder will host that folder as the root path of a webserver.
It defaults to http://localhost:3000/, but you can override the port via the PORT environment variable or the first parameter supplied to the app.