class Runcobo::StaticFiles

Overview

Mount a public directory before the action router.

Defined in:

runcobo/handlers/static_files.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(prefix : String, *, directory : String, cache_control : String | Nil = nil) #

[View source]

Instance Method Detail

def call(context) : Nil #

[View source]