🚸 (js) Display last input if send message errored

This commit is contained in:
Baptiste Arnaud
2023-04-03 18:14:32 +02:00
parent a5d3f83c7f
commit 9f8398b9ae
7 changed files with 38 additions and 18 deletions

View File

@@ -3,4 +3,6 @@ import { env } from '@typebot.io/lib'
const cloudViewerUrl = 'https://viewer.typebot.io'
export const guessApiHost = () =>
env('VIEWER_URL')?.split(',')[0] ?? cloudViewerUrl
env('VIEWER_INTERNAL_URL') ??
env('VIEWER_URL')?.split(',')[0] ??
cloudViewerUrl