Skip to content

Commit 6b3efd1

Browse files
committed
tweak heuristic
1 parent 7d0b4fe commit 6b3efd1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/shared/src/loadClerkJsScript.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ function hasScriptRequestError(scriptUrl: string): boolean {
8888
if (scriptEntry.responseEnd > 0 && scriptEntry.responseStart > 0) {
8989
return true;
9090
}
91+
92+
if (scriptEntry.responseStatus === 0) {
93+
return true;
94+
}
9195
}
9296

9397
return false;

0 commit comments

Comments
 (0)