fix: update MeiliSearch import to Meilisearch and adjust tsconfig paths

This commit is contained in:
abearxiong committed 2026-04-10 19:16:13 +08:00
1 parent baa47a5289
commit 2e689ecf4d
8 files changed
+1018 -57

No files matched your search

+2 -2
View File
@@ -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,
});