Skip to content

Commit

Permalink
Make sure we mount an app, not an object.
Browse files Browse the repository at this point in the history
  • Loading branch information
perlDreamer committed Feb 10, 2012
1 parent 36035e3 commit 179fca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wre/sbin/wre.psgi
Expand Up @@ -24,7 +24,7 @@ builder {
if ($wre_config->get('demo/enabled')) {
use WRE::WebguiDemo;
my $wre = WRE::WebguiDemo->new();
mount $wre_config->get('demo/hostname') => $wre;
mount $wre_config->get('demo/hostname') => $wre->to_app;
}
my $webgui = Plack::Util::load_psgi($wre_config->getWebguiRoot('app.psgi'));
mount '/' => $webgui;
Expand Down

0 comments on commit 179fca5

Please sign in to comment.