Skip to content
Permalink
Browse files

Make sure we mount an app, not an object.

  • Loading branch information...
perlDreamer committed Feb 10, 2012
1 parent 36035e3 commit 179fca543df83c4ddb202c14ecf289e3ba69767c
Showing with 1 addition and 1 deletion.
  1. +1 −1 wre/sbin/wre.psgi
@@ -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;

0 comments on commit 179fca5

Please sign in to comment.
You can’t perform that action at this time.