fallbaq-0.1.0 is not a library.
fallbaq
A super simple static file server with a focus on fallback to alternate directories. Written in Rust.
fallbaq ./files ./fallback_files /more_fallback_files
Pass a number of directories. Files will be loaded starting from the first, and then from following directories if they aren't present. A 404 will be returned if the file is not found in any directory.
Think of it as layering different folders on top of each other.
Change the port:
fallbaq ./files -p 1337
fallbaq ./files --port 1337
Example:
- -- - -
- --- - - -
- - - -
Running the following command:
fallbaq ./files ./fallback_files /var/www/html
Will expose a file system that looks like this to requests:
- ---- - - - - - -