allow error messages to be customized via config

This commit is contained in:
zefie
2022-10-15 16:23:01 -04:00
parent 130a1e3ef5
commit f36733e9c1
3 changed files with 39 additions and 5 deletions

View File

@@ -48,6 +48,13 @@
"max_length": 32,
"form_size": 16
},
"errorMessages": {
"400": "${service_name} ran into a technical problem. Please try again.",
"401": "Authorization Required.",
"403": "The publisher of that page has not authorized you to view it.",
"404": "The service could not find the requested page.",
"500": "${service_name} ran into a technical problem. Please try again."
},
"lockdownWhitelist": [
"wtv-1800:/preregister",
"wtv-head-waiter:/login",