Skip to content

Commit

Permalink
chore: Add St.Albans subdomain to frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Nov 6, 2023
1 parent 9ed89c0 commit 0952f0a
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 @@ -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.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 @@ -56,6 +56,7 @@ const PREVIEW_ONLY_DOMAINS = [
"planningservices.southwark.gov.uk",
"planningservices.doncaster.gov.uk",
"planningservices.medway.gov.uk",
"planningservices.stalbans.gov.uk",
// XXX: un-comment the next line to test custom domains locally
// "localhost",
];
Expand Down

0 comments on commit 0952f0a

Please sign in to comment.