http-server
http-server copied to clipboard
Serve multiple directories
Is it possible to serve multiple directories?
- it will be very useful possibility to configure simple aliases for eg.: /js => ./static/js
Is there already a way to just serve everything on a subdirectory?
@Phlogi what do you mean by that?
like this: domain.com/myservice/, i.e. adding a subfolder.
AFAIK, it's not possible with http-server out of the box.
ecstatic, the core behind http-server, provides an option baseDir.