elf) = @_;
$self->static_directory ||= 'root/static';
$self->allowed = 'js|css|png|svg|jpeg|gif|json|html|txt|eot|ttf|woff|woff2|mov|mp4';
$self->mime = {
js => 'application/javascript',
css =>
g => 'image/png',
svg => 'image/svg',
jpeg => 'image/jpeg',
gif => 'image/gif',
json => 'application/json',
html => 'text/html',
txt => 'text/plain',
eot => 'application/vnd.ms-fontobjec
tured(1) :content_type(image/gif) { }
sub static_json :get(static) :view(static) :path(static/(.*\.json)) :captured(1) :content_type(application/json) { }
sub static_html :get(static) :view(static)
d(1) :content_type(image/gif) { }
sub static_json :get(static) :view(static) :delayed :path(static/(.*\.json)) :captured(1) :content_type(application/json) { }
sub static_html :get(static) :view(sta