Skip to content

Commit

Permalink
infra: add frontend values for Barnet's subdomain (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessicamcinchak authored Dec 20, 2023
1 parent af36d41 commit 705ed41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions editor.planx.uk/src/airbrake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
1 change: 1 addition & 0 deletions editor.planx.uk/src/routes/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
];
Expand Down

0 comments on commit 705ed41

Please sign in to comment.