Skip to content

Commit d64746a

Browse files
committed
fix: change HTTP status code from 200 to 503
1 parent e97ebd8 commit d64746a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

public/index.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
PHP_VERSION
1515
);
1616

17-
exit($message);
17+
header('HTTP/1.1 503 Service Unavailable.', true, 503);
18+
echo $message;
19+
20+
exit(1);
1821
}
1922

2023
/*

0 commit comments

Comments
 (0)