Skip to content

Commit 300ed33

Browse files
committed
edit
1 parent faf27c5 commit 300ed33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom-redirect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export async function c_redirect(request, response, thrownError = null, isMainte
9797

9898
// Handle zero trust errors
9999
if(thrownError && (thrownError == 1033 || thrownError.code == 1033)) {
100-
getErrorDetailsFromCfCode(502, env);
100+
getErrorDetailsFromCfCode(504, env);
101101
return makeResponse(REDIRECT.generateErrorPage());
102102
}
103103
if(thrownError && (thrownError == 1101 || thrownError.code == 1101)) {

0 commit comments

Comments
 (0)