mirror of
https://github.com/NickKaramoff/toot
synced 2025-02-07 15:28:44 +01:00
Only count views on the official instances
This commit is contained in:
parent
1650a4bca1
commit
5f0e28e506
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user