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:
-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 {