fix: update MeiliSearch import to Meilisearch and adjust tsconfig paths
This commit is contained in:
1 parent
baa47a5289
commit
2e689ecf4d
8 files changed
+1018
-57
No files matched your search
+2
-2
@@ -1,11 +1,11 @@
|
||||
import dotenv from 'dotenv';
|
||||
import { MeiliSearch } from 'meilisearch';
|
||||
import { Meilisearch } from 'meilisearch';
|
||||
|
||||
dotenv.config();
|
||||
|
||||
const meiliSearchKey = process.env.MEILISEARCH_KEY;
|
||||
const host = process.env.MEILISEARCH_URL!;
|
||||
export const client = new MeiliSearch({
|
||||
export const client = new Meilisearch({
|
||||
host: host,
|
||||
apiKey: meiliSearchKey,
|
||||
});
|
||||
Reference in new issue
Block a user