Fix Etherpad integration

This commit is contained in:
Daniel Berteaud 2018-06-12 16:16:09 +02:00
parent 135a734863
commit 964f5e84ea
1 changed files with 1 additions and 1 deletions

View File

@ -551,7 +551,7 @@
enabled: <%= get_opt_features->{etherpad} ? 'true' : 'false' %>,
% if (get_opt_features->{etherpad}){
% my $ethuri = Mojo::URL->new($config->{'etherpad.uri'});
host: "<%= $ethuri->scheme . '://' . $ethuri->authority %>",
host: "<%= $ethuri->scheme . '://' . $ethuri->host %>",
path: "<%= $ethuri->path . '/p/' %>",
group: "<%= $etherpadGroup %>"
% }