Skip to content

Commit

Permalink
chore: finalise Barking and Dagenham subdomain setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jamdelion committed Nov 18, 2024
1 parent dd9c5eb commit 60d6198
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions editor.planx.uk/src/airbrake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function getEnvForAllowedHosts(host: string) {
case "planningservices.gateshead.gov.uk":
case "planningservices.gloucester.gov.uk":
case "planningservices.lambeth.gov.uk":
case "planningservices.lbbd.gov.uk":
case "planningservices.medway.gov.uk":
case "planningservices.newcastle.gov.uk":
case "planningservices.southwark.gov.uk":
Expand Down
3 changes: 2 additions & 1 deletion editor.planx.uk/src/routes/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,15 @@ export const setPath = (flowData: Store.Flow, req: NaviRequest) => {
// So I've hard-coded these domain names until a better solution comes along.
//
const PREVIEW_ONLY_DOMAINS = [
"planningservices.epsom-ewell.gov.uk",
"planningservices.barnet.gov.uk",
"planningservices.buckinghamshire.gov.uk",
"planningservices.camden.gov.uk",
"planningservices.doncaster.gov.uk",
"planningservices.epsom-ewell.gov.uk",
"planningservices.gateshead.gov.uk",
"planningservices.gloucester.gov.uk",
"planningservices.lambeth.gov.uk",
"planningservices.lbbd.gov.uk",
"planningservices.medway.gov.uk",
"planningservices.newcastle.gov.uk",
"planningservices.southwark.gov.uk",
Expand Down

0 comments on commit 60d6198

Please sign in to comment.