JSORB::Server::Traits::WithStaticFiles - A JSORB::Server::Simple trait for static files


JSORB documentation  | view source Contained in the JSORB distribution.

Index


NAME

Top

JSORB::Server::Traits::WithStaticFiles - A JSORB::Server::Simple trait for static files

SYNOPSIS

Top

  JSORB::Server::Simple->new_with_traits(
      traits     => [ 'JSORB::Server::Traits::WithStaticFiles' ],
      doc_root   => [ $FindBin::Bin, '..', '..' ],
      dispatcher => JSORB::Dispatcher::Path->new(
          namespace => $ns,
      )
  )->run;

DESCRIPTION

Top

This is basically just a simple way to serve static files through your simple JSORB server. Its detection of files is very niave, you have been warned (patches welcome).

BUGS

Top

All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.

AUTHOR

Top

Stevan Little <stevan.little@iinteractive.com>

COPYRIGHT AND LICENSE

Top


JSORB documentation  | view source Contained in the JSORB distribution.