diff --git a/frontend/src/Widget.jsx b/frontend/src/Widget.jsx index 9364cdc..4e42221 100644 --- a/frontend/src/Widget.jsx +++ b/frontend/src/Widget.jsx @@ -257,7 +257,7 @@ function Widget() { const { searchParams } = new URL(window.location.href); const widgetId = searchParams.get('widgetId'); - widgetApi.current = widgetApi.current ?? new WidgetApi(widgetId); + widgetApi.current = widgetApi.current ?? new WidgetApi(widgetId, 'https://chat.dgov.io'); console.log('widget api', widgetApi.current);