fix pathname in generator

This commit is contained in:
Janis
2023-11-12 18:49:49 +01:00
parent c5009271c4
commit d16e80a48d

View File

@@ -27,7 +27,7 @@ export default function Generator() {
url.searchParams.set("hideNonTalking", hideNonTalking.toString());
url.searchParams.set("clientLimit", clientLimit.toString());
if (url.hostname === "dertyp7.github.io") {
if (url.hostname.includes("dertyp7.github.io")) {
url.pathname = url.pathname + "ts5-obs-overlay/";
}