Skip to content

Commit ae2db8f

Browse files
committedFeb 13, 2012
mount paths need an http, and have to start with /
1 parent 179fca5 commit ae2db8f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎wre/sbin/wre.psgi

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ 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->to_app;
27+
my $demo_path = 'http://'.$wre_config->get('demo/hostname').'/';
28+
mount $demo_path => $wre->to_app;
2829
}
2930
my $webgui = Plack::Util::load_psgi($wre_config->getWebguiRoot('app.psgi'));
3031
mount '/' => $webgui;

0 commit comments

Comments
 (0)
Please sign in to comment.