Skip to content

Commit 3109710

Browse files
committed
fix: default ENABLE_UR_QUESTION to be disabled unless explicitly set to 'yes'
1 parent b488cd7 commit 3109710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/visits/endUrQuestion.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export const getServerSideProps = propsWithContainer(
128128
const { headers } = req;
129129
const { callId } = query;
130130

131-
if (process.env.ENABLE_UR_QUESTION === "no") {
131+
if (process.env.ENABLE_UR_QUESTION !== "yes") {
132132
res.writeHead(302, { Location: `/visits/end?callId=${callId}` }).end();
133133
return {};
134134
}

0 commit comments

Comments
 (0)