mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Remove port parameter which is included in host
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
09b7776720
commit
1f786f6bcc
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue