module

Orion::DSL::Static

The static macros allows you to bind static content to given path. You can use this for strings and/or files that will never change in a given release

Macros

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

Mount a directory of static files.

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

Source
static(*, path, string)
Source