From 61b1b2517da33be5ae7054c99790d19096f9f315 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Wed, 17 Jan 2024 14:27:06 +0000 Subject: [PATCH] chore(editor): Setup Tewkesbury domain [skip pizza] (#2675) --- 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 84cab29ff5..dd03f49cc4 100644 --- a/editor.planx.uk/src/airbrake.ts +++ b/editor.planx.uk/src/airbrake.ts @@ -17,6 +17,7 @@ function getEnvForAllowedHosts(host: string) { case "planningservices.camden.gov.uk": case "planningservices.stalbans.gov.uk": case "planningservices.barnet.gov.uk": + case "planningservices.tewkesbury.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 d058d40df7..f69e07d185 100644 --- a/editor.planx.uk/src/routes/utils.ts +++ b/editor.planx.uk/src/routes/utils.ts @@ -61,6 +61,7 @@ const PREVIEW_ONLY_DOMAINS = [ "planningservices.camden.gov.uk", "planningservices.stalbans.gov.uk", "planningservices.barnet.gov.uk", + "planningservices.tewkesbury.gov.uk", // XXX: un-comment the next line to test custom domains locally // "localhost", ];