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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-09-21 22:11:38 +0300
committerChristopher Ng <chrng8@gmail.com>2022-09-21 22:11:38 +0300
commit1f786f6bcc4aa0102cc280ff1e7da2b36dd5e445 (patch)
tree6fe246b2729c1312e9a5c017f5f4b054c47ffc3b
parent09b777672019684872279633daafdf6734c44901 (diff)
Remove port parameter which is included in hostenh/edit-locally-icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index fff704b9283..2761c3a62b2 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -2811,7 +2811,7 @@
var scheme = 'nc://';
var command = 'open';
var uid = OC.getCurrentUser().uid;
- var url = scheme + command + '/' + uid + '@' + window.location.host + (window.location.port ? `:${window.location.port}` : '') + OC.encodePath(path);
+ var url = scheme + command + '/' + uid + '@' + window.location.host + OC.encodePath(path);
window.location.href = url;
},