2
0

🐛 (wp) Fix custom api host variable name on shortcode

Closes #483
This commit is contained in:
Baptiste Arnaud
2023-05-05 09:17:47 -04:00
parent 8347e5b2a8
commit c0fae18501
5 changed files with 12 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ const parseWordpressShortcode = ({
return `[typebot typebot="${publicId}"${
isCloudProdInstance
? ''
: ` apiHost="${env('VIEWER_INTERNAL_URL') ?? getViewerUrl()}"`
: ` host="${env('VIEWER_INTERNAL_URL') ?? getViewerUrl()}"`
}${width ? ` width="${width}"` : ''}${height ? ` height="${height}"` : ''}]
`
}