We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fetchCrm
getRoutedUrl
1 parent f6641d5 commit 4d3727dCopy full SHA for 4d3727d
1 file changed
packages/features/routing-forms/lib/getRoutedUrl.ts
@@ -53,8 +53,7 @@ export function hasEmbedPath(pathWithQuery: string) {
53
return onlyPath.endsWith("/embed") || onlyPath.endsWith("/embed/");
54
}
55
56
-// We have fetchCrm as configurable temporarily to allow us to test the CRM logic in the APIV2. Soon after we would hardcode it to true
57
-const _getRoutedUrl = async (context: Pick<GetServerSidePropsContext, "query" | "req">, fetchCrm = false) => {
+const _getRoutedUrl = async (context: Pick<GetServerSidePropsContext, "query" | "req">, fetchCrm = true) => {
58
const queryParsed = querySchema.safeParse(context.query);
59
const isEmbed = hasEmbedPath(context.req.url || "");
60
const pageProps = {
0 commit comments