From 37bb172f251019f0ea1ddd7c2c9d5e7383f7b7ef Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Tue, 11 Jul 2023 19:24:10 +0200 Subject: [PATCH] :ambulance: Fix invalid rewrites for custom domains --- apps/viewer/next.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/viewer/next.config.js b/apps/viewer/next.config.js index 0d31984d3..1d63c5dd5 100644 --- a/apps/viewer/next.config.js +++ b/apps/viewer/next.config.js @@ -67,6 +67,12 @@ const nextConfig = { landingPagePaths.map((path) => ({ source: path, destination: `${process.env.LANDING_PAGE_URL}${path}`, + has: [ + { + type: 'host', + value: 'typebot.io', + }, + ], })) ) : []