Binds to get requests that aren't handled by specified paths. Should support all filetypes; returns image and octet-stream types as a raw string.
1 | serve_static_files(jug, path = NULL, root_path = getwd())
|
jug |
the jug instance |
path |
the path to bind to, default = NULL (all paths) |
root_path |
the file path to set as root for the file server |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.