diff options
Diffstat (limited to 'lib/WOPI/DiscoveryManager.php')
-rw-r--r-- | lib/WOPI/DiscoveryManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/WOPI/DiscoveryManager.php b/lib/WOPI/DiscoveryManager.php index d8d70b58..bcc103d8 100644 --- a/lib/WOPI/DiscoveryManager.php +++ b/lib/WOPI/DiscoveryManager.php @@ -68,7 +68,7 @@ class DiscoveryManager { */ public function fetchFromRemote() { $remoteHost = $this->config->getAppValue('richdocuments', 'wopi_url'); - $wopiDiscovery = $remoteHost . '/hosting/discovery'; + $wopiDiscovery = rtrim($remoteHost, '/') . '/hosting/discovery'; $client = $this->clientService->newClient(); $options = ['timeout' => 45, 'nextcloud' => ['allow_local_address' => true]]; |