update
This commit is contained in:
11
starred/common.ts
Normal file
11
starred/common.ts
Normal 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,
|
||||
});
|
||||
Reference in New Issue
Block a user