We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2088b39 commit f018f06Copy full SHA for f018f06
1 file changed
js/errorHandler.js
@@ -12,7 +12,10 @@ if (msg && errorMessageEl) {
12
}
13
14
if (errorCodeEl) {
15
- errorCodeEl.textContent = (paramCode || "404").toString();
+ if (paramCode === "403") {
16
+ errorCodeEl.textContent = "403 - Forbidden";
17
+ } else
18
+ errorCodeEl.textContent = (paramCode || "404").toString();
19
20
21
function handleErrorAndRedirect(message, code = 404) {
0 commit comments