From 3593fafd91e116555223d74c30a1f25f20a9bed7 Mon Sep 17 00:00:00 2001 From: Ladd Hoffman Date: Thu, 25 Apr 2024 19:50:06 -0500 Subject: [PATCH] hardcode domain --- frontend/src/Widget.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);