diff --git a/src/helpers/url.js b/src/helpers/url.js index 2de4007dfc..1917a51dda 100644 --- a/src/helpers/url.js +++ b/src/helpers/url.js @@ -90,7 +90,7 @@ const getDocumentUrlForFile = (fileDir, fileId) => { } const getNextcloudUrl = () => { - return window.location.host + (window.location.port ? `:${window.location.port}` : '') + return window.location.host } export {