Only count views on the official instances
This commit is contained in:
parent
1650a4bca1
commit
5f0e28e506
1 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,14 @@ fetch("//gc.zgo.at/", { method: "HEAD" })
|
|||
return;
|
||||
}
|
||||
|
||||
if (
|
||||
window.location.host !== "toot.kytta.dev" &&
|
||||
window.location.host !== "s2f.kytta.dev" &&
|
||||
window.location.host !== "share2fedi.kytta.dev"
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
||||
const screen = encodeURIComponent(
|
||||
[
|
||||
window.screen.width,
|
||||
|
|
Reference in a new issue