From 67e22090b2a902634626dc24dc0e824fa459721d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Thu, 28 Mar 2024 16:41:42 +0000 Subject: [PATCH] chore: Finalise Gateshead subdomain [skip pizza] --- editor.planx.uk/src/airbrake.ts | 1 + editor.planx.uk/src/routes/utils.ts | 1 + 2 files changed, 2 insertions(+) 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", ];