From 705ed4135093ee016c6ea587971415f1e9f983e0 Mon Sep 17 00:00:00 2001 From: Jessica McInchak Date: Wed, 20 Dec 2023 09:37:47 +0000 Subject: [PATCH] infra: add frontend values for Barnet's subdomain (#2584) --- 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 05558a7cc6..84cab29ff5 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.buckinghamshire.gov.uk": case "planningservices.camden.gov.uk": case "planningservices.stalbans.gov.uk": + case "planningservices.barnet.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 4336c28a1a..647710b3b5 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.medway.gov.uk", "planningservices.camden.gov.uk", "planningservices.stalbans.gov.uk", + "planningservices.barnet.gov.uk", // XXX: un-comment the next line to test custom domains locally // "localhost", ];