We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1252137 commit c306882Copy full SHA for c306882
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