diff --git a/templates/default/join.html.ep b/templates/default/join.html.ep
index 768c0b7..644fc0e 100644
--- a/templates/default/join.html.ep
+++ b/templates/default/join.html.ep
@@ -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 %>"
% }