remove redundant request to file info

This commit is contained in:
2020-01-21 16:10:45 +01:00
parent 69ce4dcaee
commit ef063bbe26
3 changed files with 25 additions and 46 deletions

View File

@@ -82,3 +82,11 @@ function copyText(text) {
document.body.removeChild(ta); // Remove the textarea
return success;
}
function domainURL() {
let url = window.location.protocol+"//"+window.location.hostname;
if (window.location.port != "") {
url = url+":"+window.location.port;
}
return url;
}