Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-10-24 13:20:57 +0300
committerGitHub <noreply@github.com>2022-10-24 13:20:57 +0300
commitc1e1ba1182c2a06ead2609338b5ff5a84457cd37 (patch)
tree37cea36a48a6330bd4ca24143a6107c6ee5b7182
parent1860887d377b50748db99c0cd6157be592e548f6 (diff)
parentb3c5ead110d997a655ea58abf56276ab37ce3bf0 (diff)
Merge pull request #2573 from mayswind/master
-rw-r--r--src/helpers/url.js2
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 {