From 6c8bc139d40a735975dc59ab1df3f8559330b2cc Mon Sep 17 00:00:00 2001 From: Nourman Hajar Date: Thu, 21 Mar 2024 21:44:43 +0700 Subject: [PATCH] fix: use url instead of host --- scripts/typesense/setup.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/typesense/setup.ts b/scripts/typesense/setup.ts index 1ae2308..d6a26ac 100644 --- a/scripts/typesense/setup.ts +++ b/scripts/typesense/setup.ts @@ -6,9 +6,7 @@ import { join } from 'path'; let client = new Client({ nodes: [ { - host: process.env.TYPESENSE_API_URL, - port: 8108, - protocol: 'http', + url: process.env.TYPESENSE_API_URL, }, ], apiKey: process.env.TYPESENSE_API_KEY,