NAME

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

SYNOPSIS

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

DESCRIPTION

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

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

Stevan Little <stevan.little@iinteractive.com>

COPYRIGHT AND LICENSE

Copyright 2008-2010 Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.