This commit is contained in:
2025-08-09 23:09:01 +08:00
parent 1898376161
commit c9e4358bd8
10 changed files with 4582 additions and 17 deletions

11
starred/common.ts Normal file
View File

@@ -0,0 +1,11 @@
import dotenv from 'dotenv';
import { MeiliSearch } from 'meilisearch';
dotenv.config();
const meiliSearchKey = process.env.MEILISEARCH_KEY;
const host = process.env.MEILISEARCH_URL!;
export const client = new MeiliSearch({
host: host,
apiKey: meiliSearchKey,
});