Skip to content

Commit

Permalink
fix(engine): 🚑️ Viewer host
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 23, 2022
1 parent 39b0143 commit e502413
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/builder/layouts/dashboard/TemplatesContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
},
Expand Down
1 change: 1 addition & 0 deletions packages/bot-engine/src/assets/phone.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.PhoneInputInput {
padding: 1rem 0.5rem;
outline: none !important;
background: transparent;
}

.PhoneInputCountry {
Expand Down
2 changes: 1 addition & 1 deletion packages/bot-engine/src/components/TypebotViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

3 comments on commit e502413

@vercel
Copy link

@vercel vercel bot commented on e502413 Mar 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app
app.typebot.io

@vercel
Copy link

@vercel vercel bot commented on e502413 Mar 23, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.