Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argument parsing, configurable file root, and 404.html support #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swissChili
Copy link

I have made some minor quality of life changes. Hopefully these are
useful to other people as well.

  • The port can now be specified with -p PORT
  • The file root is no longer hard coded to pages/, it can be set with
    -f FILE_ROOT
  • In case of an unresolved path, 404.html will be tried as well as
    404.htm. Previously only the latter was tried.

- The port can now be specified with `-p PORT'
- The file root is no longer hard coded to `pages/', it can be set with
  `-f FILE_ROOT'
- In case of an unresolved path, `404.html' will be tried as well as
  `404.htm'. Previously only the latter as tried.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant