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 <email@example.com>
Copyright 2008-2010 Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.