Skip to content

Commit

Permalink
chore: Add St.Albans subdomain to frontend (#2382)
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr authored Nov 13, 2023
1 parent c79e639 commit bf09f02
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.southwark.gov.uk":
case "planningservices.buckinghamshire.gov.uk":
case "planningservices.camden.gov.uk":
case "planningservices.stalbans.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.doncaster.gov.uk",
"planningservices.medway.gov.uk",
"planningservices.camden.gov.uk",
"planningservices.stalbans.gov.uk",
// XXX: un-comment the next line to test custom domains locally
// "localhost",
];
Expand Down

0 comments on commit bf09f02

Please sign in to comment.