Skip to content

Commit

Permalink
Merge pull request #10920 from bbc/WSTEAMA-478-route-azeri-homepage-live
Browse files Browse the repository at this point in the history
WSTEAMA-478 - Launch: Simorgh - Route azeri to Homepage on live environment
  • Loading branch information
LilyL0u authored Jul 6, 2023
2 parents 5beea2f + 4d6ac87 commit 834b89a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
18 changes: 1 addition & 17 deletions cypress/support/config/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1008,23 +1008,7 @@ module.exports = () => ({
},
smoke: false,
},
frontPage: {
environments: {
live: {
paths: ['/azeri'],
enabled: false,
},
test: {
paths: ['/azeri'],
enabled: false,
},
local: {
paths: ['/azeri'],
enabled: false,
},
},
smoke: false,
},
frontPage: { environments: undefined, smoke: false },
liveRadio: { environments: undefined, smoke: false },
onDemandAudio: { environments: undefined, smoke: false },
onDemandTV: { environments: undefined, smoke: false },
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/utils/regex/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ describe('frontPage -> homePage migration', () => {
.filter(service => !servicesWithVariants.includes(service))
.map(serviceToRoute);

const migratedServices = ['kyrgyz'];
const migratedServices = ['azeri', 'kyrgyz'];
const migratedWorldServiceRoutes = migratedServices.map(serviceToRoute);

const liveFrontPageServices = worldServices.filter(
Expand Down
2 changes: 1 addition & 1 deletion src/app/routes/utils/regex/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const getArticleManifestRegex = services => {
return `/:service(${serviceRegex})/:local(${articleLocalRegex})/manifest.json`;
};

const homePageServices = ['kyrgyz'];
const homePageServices = ['azeri', 'kyrgyz'];

const servicesWithVariants = ['serbian', 'ukchina', 'zhongwen'];

Expand Down

0 comments on commit 834b89a

Please sign in to comment.