Skip to content

Commit feaf492

Browse files
committed
Add a 0% opt in test for testing in PROD
1 parent 4478945 commit feaf492

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dotcom-rendering/src/server/handler.front.web.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ const enhanceTagPage = (body: unknown): TagPage => {
9999
discussionApiUrl: data.config.discussionApiUrl,
100100
editionId: data.editionId,
101101
stripBranding: !!tagPageBranding,
102-
enableHlsSupport: !!data.config.switches.enableHlsSupport,
102+
enableHlsSupport:
103+
!!data.config.switches.enableHlsSupport ||
104+
!!data.config.abTests.hlsVideoVariant,
103105
});
104106

105107
const speed = getSpeedFromTrails(data.contents);

0 commit comments

Comments
 (0)