JSORB::Server::Traits::WithStaticFiles - A JSORB::Server::Simple trait for static files
JSORB::Server::Simple->new_with_traits( traits => [ 'JSORB::Server::Traits::WithStaticFiles' ], doc_root => [ $FindBin::Bin, '..', '..' ], dispatcher => JSORB::Dispatcher::Path->new( namespace => $ns, ) )->run;
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).
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.
Stevan Little <stevan.little@iinteractive.com>
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.
To install JSORB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm JSORB
CPAN shell
perl -MCPAN -e shell install JSORB
For more information on module installation, please visit the detailed CPAN module installation guide.