Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: finalise Barking and Dagenham subdomain setup #3976

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading