Skip to content

Commit 57ec074

Browse files
committed
add logs
1 parent d41ad96 commit 57ec074

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helper-functions.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ export const HELPER = {
7575

7676
const [controller, id] = createTimeoutController(timeoutMs);
7777
try {
78+
console.log("COUCOU1 isOriginReachable");
7879
const response = await fetchWithMethodFallback(env.ORIGIN_PING_URL, { signal: controller.signal });
80+
console.log("COUCOU1 isOriginReachable response:: " + response.status);
7981
return response.status > 0 && response.status < 500;
8082
} catch {
8183
return false;

0 commit comments

Comments
 (0)