1.0.3 • Published 4 years ago

basic-auth-static-server v1.0.3

Weekly downloads
71
License
MIT
Repository
github
Last release
4 years ago

basic-auth-static-server

Usage npx basic-auth-static-server /path/to/your/static-website

Everything is based on environment variables, works out of the box with heroku.

No environmanet variables are needed for this to work, however...

In order to use Basic Auth you need to set the following.

BASIC_AUTH_USERNAME

BASIC_AUTH_PASSWORD

STATIC_INDEX_FILE is optional, default is index.html

The port is determined by

PORT default is 3000


When there is no Basic Auth variables set, the server will not implment it

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago