NAME
App::Phoebe::StaticFiles - serve static files via a Phoebe wiki
DESCRIPTION
Serving static files... Sometimes it's just easier. All the static files are served from /do/static
, without regard to wiki spaces. You need to define routes that map a path to your filesystem.
package App::Phoebe::StaticFiles;
our %routes = (
"zürich" => "/home/alex/Pictures/2020/Zürich",
"amaryllis" => "/home/alex/Pictures/2021/Amaryllis", );
use App::Phoebe::StaticFiles;
The setup does not allow recursive traversal of the file system.
You still need to add a link to /do/static
somewhere in your wiki.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 29:
Non-ASCII character seen before =encoding in '"zürich"'. Assuming UTF-8