Skip to content

Commit 0b0a716

Browse files
Update endpoint that serves football match list pages (#13846)
- adds the new endpoint side by side for compatibility until we change in frontend
1 parent 225c9c2 commit 0b0a716

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

dotcom-rendering/src/server/server.dev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export const devServer = (): Handler => {
9999
return handleAppsBlocks(req, res, next);
100100
case 'EditionsCrossword':
101101
return handleEditionsCrossword(req, res, next);
102-
case 'FootballDataPage':
102+
case 'FootballMatchListPage':
103103
return handleFootballMatchListPage(req, res, next);
104104
case 'FootballTablesPage':
105105
return handleFootballTablesPage(req, res, next);

dotcom-rendering/src/server/server.prod.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ export const prodServer = (): void => {
7979
app.post('/TagPage', logRenderTime, handleTagPage);
8080
app.post('/TagPageJSON', logRenderTime, handleTagPageJson);
8181
app.post('/FootballDataPage', logRenderTime, handleFootballMatchListPage);
82+
app.post(
83+
'/FootballMatchListPage',
84+
logRenderTime,
85+
handleFootballMatchListPage,
86+
);
8287
app.post('/CricketMatchPage', logRenderTime, handleCricketMatchPage);
8388
app.post('/FootballTablesPage', logRenderTime, handleFootballTablesPage);
8489
app.post(

0 commit comments

Comments
 (0)