Skip to content

Commit 179fca5

Browse files
committedFeb 10, 2012
Make sure we mount an app, not an object.
1 parent 36035e3 commit 179fca5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎wre/sbin/wre.psgi

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ builder {
2424
if ($wre_config->get('demo/enabled')) {
2525
use WRE::WebguiDemo;
2626
my $wre = WRE::WebguiDemo->new();
27-
mount $wre_config->get('demo/hostname') => $wre;
27+
mount $wre_config->get('demo/hostname') => $wre->to_app;
2828
}
2929
my $webgui = Plack::Util::load_psgi($wre_config->getWebguiRoot('app.psgi'));
3030
mount '/' => $webgui;

0 commit comments

Comments
 (0)
Please sign in to comment.