From 0bc9aad4cfacbf61fd40e39fa32e94c5ca319e55 Mon Sep 17 00:00:00 2001 From: Rinsvent Date: Sat, 8 Apr 2023 17:11:45 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D1=84=D0=BE=D1=80=D0=BC=D0=B8=D1=80=D0=B2=D0=BE=D0=B0?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B0=D0=B4=D1=80=D0=B5=D1=81=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hooks/use-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/use-api.ts b/hooks/use-api.ts index b50a811..66b14c3 100644 --- a/hooks/use-api.ts +++ b/hooks/use-api.ts @@ -13,7 +13,7 @@ const grabClient = (token: Token | null, rawToken: string | null): SMClient => { } } return new SMClient({ - baseUrl: 'http://' + (token?.host || 'localhost'), + baseUrl: token?.host || 'localhost', ...authentication }) }