diff --git a/editor.planx.uk/src/airbrake.ts b/editor.planx.uk/src/airbrake.ts index b0307c6ec7..2889a3c943 100644 --- a/editor.planx.uk/src/airbrake.ts +++ b/editor.planx.uk/src/airbrake.ts @@ -19,6 +19,7 @@ function getEnvForAllowedHosts(host: string) { case "planningservices.barnet.gov.uk": case "planningservices.tewkesbury.gov.uk": case "planningservices.westberks.gov.uk": + case "planningservices.gateshead.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 a25ad03560..32fb800dcd 100644 --- a/editor.planx.uk/src/routes/utils.ts +++ b/editor.planx.uk/src/routes/utils.ts @@ -60,6 +60,7 @@ const PREVIEW_ONLY_DOMAINS = [ "planningservices.barnet.gov.uk", "planningservices.tewkesbury.gov.uk", "planningservices.westberks.gov.uk", + "planningservices.gateshead.gov.uk", // XXX: un-comment the next line to test custom domains locally // "localhost", ];