From 5e3af825edb6bb0bae284b74d49ddf714d6710c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Mon, 13 Nov 2023 09:26:46 +0000 Subject: [PATCH] chore: Setup Camden frontend (#2402) * chore: Setup Camden frontend * fix: Drop migration files --- 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 05e513f1c1..268804ee88 100644 --- a/editor.planx.uk/src/airbrake.ts +++ b/editor.planx.uk/src/airbrake.ts @@ -15,6 +15,7 @@ function getEnvForAllowedHosts(host: string) { case "planningservices.lambeth.gov.uk": case "planningservices.southwark.gov.uk": case "planningservices.buckinghamshire.gov.uk": + case "planningservices.camden.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 9822188c8a..9df7f26e2c 100644 --- a/editor.planx.uk/src/routes/utils.ts +++ b/editor.planx.uk/src/routes/utils.ts @@ -56,6 +56,7 @@ const PREVIEW_ONLY_DOMAINS = [ "planningservices.southwark.gov.uk", "planningservices.doncaster.gov.uk", "planningservices.medway.gov.uk", + "planningservices.camden.gov.uk", // XXX: un-comment the next line to test custom domains locally // "localhost", ];