2
0

fix(engine): 🚑️ Viewer host

This commit is contained in:
Baptiste Arnaud
2022-03-23 18:24:56 +01:00
parent 39b01431e0
commit e502413ecf
3 changed files with 4 additions and 3 deletions

View File

@ -52,9 +52,9 @@ export const TemplatesContent = () => {
ownerId: user.id,
folderId,
theme: {
...defaultTheme,
...typebot.theme,
chat: {
...defaultTheme.chat,
...typebot.theme.chat,
hostAvatar: { isEnabled: true, url: user.image ?? undefined },
},
},

View File

@ -1,6 +1,7 @@
.PhoneInputInput {
padding: 1rem 0.5rem;
outline: none !important;
background: transparent;
}
.PhoneInputCountry {

View File

@ -36,7 +36,7 @@ export type TypebotViewerProps = {
export const TypebotViewer = ({
typebot,
apiHost = process.env.NEXT_PUBLIC_VIEWER_URL,
apiHost = process.env.NEXT_PUBLIC_VIEWER_URL?.split(',')[0],
isPreview = false,
style,
predefinedVariables,