Skip to content

Commit afe98a3

Browse files
add cricket sports page to server.prod.ts (#13792)
Add /CricketMatchPage to server.prod.ts
1 parent 7a3a5c3 commit afe98a3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ import {
2727
handleTagPage,
2828
handleTagPageJson,
2929
} from './handler.front.web';
30-
import { handleFootballMatchListPage } from './handler.sportDataPage.web';
30+
import {
31+
handleCricketMatchPage,
32+
handleFootballMatchListPage,
33+
} from './handler.sportDataPage.web';
3134
import { recordBaselineCloudWatchMetrics } from './lib/aws/metrics-baseline';
3235
import { getContentFromURLMiddleware } from './lib/get-content-from-url';
3336
import { logger } from './lib/logging';
@@ -74,6 +77,7 @@ export const prodServer = (): void => {
7477
app.post('/TagPage', logRenderTime, handleTagPage);
7578
app.post('/TagPageJSON', logRenderTime, handleTagPageJson);
7679
app.post('/FootballDataPage', logRenderTime, handleFootballMatchListPage);
80+
app.post('/CricketMatchPage', logRenderTime, handleCricketMatchPage);
7781

7882
app.post(
7983
'/EmailNewsletters',

0 commit comments

Comments
 (0)