You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added: Option to bind to a specific network interface (issue #19)
Added: Exit with an error when using the -d flag and the argument is not a directory, the directory doesn't exist or the directory is not readable
Added: Handling of the directory as positional argument. We keep this undocumented for now to not promote its use, but it was a common source of problems (where a directory was passed as positional argument and then "." was served), which are now mitigated.
Improved: Updated building the snap with snapcraft 3.x instead of its 2.4x legacy mode
Fixed: serve -h lead to exit code 2 instead of 0
Fixed: Wrong documentation URL in the Chocolatey Nuspec file (issue #18)
Breaking changes:
Changed default port from 8100 to 8080, which is an official alternative to port 80 for HTTP
Docker:
Changed default serving directory within the container from /share to /srv, which is a common directory for serving files
Moved -d flag from CMD to ENTRYPOINT, leading to fewer problems when using the Docker container with additional flags