diff --git a/editor.planx.uk/src/airbrake.ts b/editor.planx.uk/src/airbrake.ts index 268804ee88..9f6bd9d1fe 100644 --- a/editor.planx.uk/src/airbrake.ts +++ b/editor.planx.uk/src/airbrake.ts @@ -16,6 +16,7 @@ function getEnvForAllowedHosts(host: string) { case "planningservices.southwark.gov.uk": case "planningservices.buckinghamshire.gov.uk": case "planningservices.camden.gov.uk": + case "planningservices.stalbans.gov.uk": case "editor.planx.uk": return "production"; diff --git a/editor.planx.uk/src/routes/utils.ts b/editor.planx.uk/src/routes/utils.ts index 9df7f26e2c..0e548f6d1b 100644 --- a/editor.planx.uk/src/routes/utils.ts +++ b/editor.planx.uk/src/routes/utils.ts @@ -57,6 +57,7 @@ const PREVIEW_ONLY_DOMAINS = [ "planningservices.doncaster.gov.uk", "planningservices.medway.gov.uk", "planningservices.camden.gov.uk", + "planningservices.stalbans.gov.uk", // XXX: un-comment the next line to test custom domains locally // "localhost", ];