various fixes

This commit is contained in:
MathMan05
2024-08-16 15:10:12 -05:00
parent 4299e138fa
commit 1eea6cc005
9 changed files with 15 additions and 19 deletions

View File

@@ -113,7 +113,7 @@ class Channel{
const params=new URLSearchParams("");
params.set("instance",this.info.wellknown)
const encoded=params.toString();
text.textContent=`${window.location.protocol}//${window.location.host}/invite/${json.code}?${encoded}`
text.textContent=`${location.origin}/invite/${json.code}?${encoded}`
})
}
update();