2
0

🐛 (embed) Make sure env.ts is not bundled in js embed lib

This commit is contained in:
Baptiste Arnaud
2023-08-29 14:52:44 +02:00
parent 5b20f414c8
commit da4005e160
19 changed files with 1813 additions and 68 deletions

View File

@@ -0,0 +1,4 @@
import { env } from '@typebot.io/env'
export const getViewerUrl = () =>
env.NEXT_PUBLIC_VIEWER_INTERNAL_URL ?? env.NEXT_PUBLIC_VIEWER_URL[0]