Skip to content

Commit 382cf39

Browse files
committed
edit error code
1 parent 5c2ce1f commit 382cf39

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
@@ -122,7 +122,7 @@ export async function c_redirect(request, response, thrownError = null, isMainte
122122
if (response.status === 502) {
123123
return makeResponse(
124124
REDIRECT.generateErrorPage(
125-
"503",
125+
response.status.toString(),
126126
env.TEXT_CONTAINER_ERROR_TYPE,
127127
env.TEXT_CONTAINER_ERROR_MESSAGE + "<br> cfCode: " + cfCode + "<br> response.status: " + response.status+ "<br> originUp: " + originUp + "<br> COUCOU8",
128128
env.TEXT_CONTAINER_ERROR_GIF

0 commit comments

Comments
 (0)