We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1022f6a + c306882 commit 6b3ec66Copy full SHA for 6b3ec66
1 file changed
app/lib/detectCloudflare.ts
@@ -2,6 +2,6 @@ export function isCloudflare() {
2
return (
3
typeof navigator === "undefined" &&
4
// @ts-expect-error userAgent is defined in cloudflare worker
5
- navigator.userAgent === "Cloudflare-Worker"
+ navigator.userAgent === "Cloudflare-Workers"
6
);
7
}
0 commit comments