module Orion::Router::BuiltIns

Direct including types

Defined in:

orion/router/built_ins.cr

Macro Summary

Macro Detail

macro static(*, dir, path = "/") #

Mount a directory of static files.

router MyRouter do static dir: "./public", path: "/" end


[View source]