docs(share): 📝 Update typebot URL in embed instructions
This commit is contained in:
@ -19,7 +19,10 @@ export const ChatEmbedCode = ({
|
||||
|
||||
const snippet = prettier.format(
|
||||
createSnippet({
|
||||
url: `${process.env.NEXT_PUBLIC_VIEWER_URL}/${typebot?.publicId}`,
|
||||
url: `${
|
||||
process.env.NEXT_PUBLIC_VIEWER_INTERNAL_URL ??
|
||||
process.env.NEXT_PUBLIC_VIEWER_URL
|
||||
}/${typebot?.publicId}`,
|
||||
button,
|
||||
proactiveMessage,
|
||||
}),
|
||||
|
Reference in New Issue
Block a user