http-party / http-server

a simple zero-configuration command-line http server
MIT License
13.42k stars 1.48k forks source link

Static File Directory flag #848

Open pebanfield opened 1 year ago

pebanfield commented 1 year ago

What's the problem this feature will solve?

This is a primary use case for me since I usually want to use this utility in a non production context, where I may not want or have a .public dir. A dist or build dir for example.

Describe the solution you'd like

A flag to override the default './public' path.

Alternative Solutions

Use another util.

Additional context

github-actions[bot] commented 11 months ago

This issue has been inactive for 180 days