Skip to content

Commit

Permalink
chore: ignore cloudflare detection
Browse files Browse the repository at this point in the history
  • Loading branch information
alanshaw committed Dec 18, 2024
1 parent 21ce4d7 commit b5ab630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/upload-client/src/runtime.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* c8 ignore next 3 */
export const isCloudflareWorkers =
typeof navigator !== 'undefined' &&
navigator?.userAgent === 'Cloudflare-Workers'

0 comments on commit b5ab630

Please sign in to comment.