rawleyfowler / Humming-Bird

A fun and performant web application framework for Raku
MIT License
44 stars 6 forks source link

Add static content routing #33

Closed rawleyfowler closed 1 year ago

rawleyfowler commented 1 year ago

There should be a simple way to specify a route/location as static and have it source files from a directory.

Something like:

use Humming-Bird::Core;

static('/static', IO::Path:D);