http-party / http-server

a simple zero-configuration command-line http server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Static File Directory flag

pebanfield opened this issue · comments

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