diff options
-rw-r--r-- | src/helpers/url.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/url.js b/src/helpers/url.js index 2de4007d..1917a51d 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 { |