allow error messages to be customized via config
This commit is contained in:
@@ -26,7 +26,32 @@
|
||||
]
|
||||
},
|
||||
"hide_ssid_in_logs": true,
|
||||
"verbosity": 2
|
||||
"verbosity": 2,
|
||||
"errorMessages": {
|
||||
"999": "My Custom Error Code Message",
|
||||
"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",
|
||||
"wtv-head-waiter:/ValidateLogin",
|
||||
"wtv-head-waiter:/login-stage-two",
|
||||
"wtv-head-waiter:/relogin",
|
||||
"wtv-head-waiter:/ROMCache/Spacer.gif",
|
||||
"wtv-head-waiter:/ROMCache/NameStrip.gif",
|
||||
"wtv-head-waiter:/images/PasswordBanner.gif",
|
||||
"wtv-head-waiter:/ROMCache/UtilityBullet.gif",
|
||||
"wtv-head-waiter:/images/NameBanner.gif",
|
||||
"wtv-head-waiter:/bad-disk",
|
||||
"wtv-head-waiter:/images/signin_new_mail.gif",
|
||||
"wtv-head-waiter:/images/signin_no_mail.gif",
|
||||
"wtv-log:/log",
|
||||
"wtv-custom-service:/my-cool-page-everyone-should-have-access-to"
|
||||
]
|
||||
},
|
||||
"services": {
|
||||
"wtv-1800": {
|
||||
|
||||
Reference in New Issue
Block a user