class Azu::Handler::Static

Defined in:

azu/handler/static.cr

Constant Summary

ZIPPED_FILE_EXTENSIONS = [".htm", ".html", ".txt", ".css", ".js", ".svg", ".json", ".xml", ".otf", ".ttf", ".woff", ".woff2"] of ::String

Constructors

Instance Method Summary

Constructor Detail

def self.new(public_dir : String = "public", fallthrough = false, directory_listing = false) #

[View source]

Instance Method Detail

def call(context : HTTP::Server::Context) #

[View source]