Skip to content
Permalink
Browse files

mount paths need an http, and have to start with /

  • Loading branch information...
perlDreamer committed Feb 13, 2012
1 parent 179fca5 commit ae2db8f1fd3fb30a49a0a2105a36c69bdbcc06cd
Showing with 2 additions and 1 deletion.
  1. +2 −1 wre/sbin/wre.psgi
@@ -24,7 +24,8 @@ builder {
if ($wre_config->get('demo/enabled')) {
use WRE::WebguiDemo;
my $wre = WRE::WebguiDemo->new();
mount $wre_config->get('demo/hostname') => $wre->to_app;
my $demo_path = 'http://'.$wre_config->get('demo/hostname').'/';
mount $demo_path => $wre->to_app;
}
my $webgui = Plack::Util::load_psgi($wre_config->getWebguiRoot('app.psgi'));
mount '/' => $webgui;

0 comments on commit ae2db8f

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