This commit is contained in:
aliabid94 2022-06-16 11:16:18 -07:00 committed by GitHub
parent d0b521510d
commit 4d74206748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,10 @@
export let root: string;
if (root === "") {
root = window.location.href;
root = location.protocol + "//" + location.host + location.pathname;
}
if (!root.endsWith("/")) {
root += "/";
}
let just_copied = -1;