diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-10-24 13:20:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-24 13:20:57 +0300 |
commit | c1e1ba1182c2a06ead2609338b5ff5a84457cd37 (patch) | |
tree | 37cea36a48a6330bd4ca24143a6107c6ee5b7182 | |
parent | 1860887d377b50748db99c0cd6157be592e548f6 (diff) | |
parent | b3c5ead110d997a655ea58abf56276ab37ce3bf0 (diff) |
Merge pull request #2573 from mayswind/master
-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 { |