diff --git a/apps/website/components/blog-search/blog-search.tsx b/apps/website/components/blog-search/blog-search.tsx index 4e259c0..4d248bc 100644 --- a/apps/website/components/blog-search/blog-search.tsx +++ b/apps/website/components/blog-search/blog-search.tsx @@ -24,8 +24,8 @@ export function BlogSearch(props: BlogSearchProps) { if (subject === null) { const sub = new BehaviorSubject(''); const client = new MeiliSearch({ - host: 'http://127.0.0.1:7700', - apiKey: environment.meiliMasterKey + host: environment.meiliUrl, + apiKey: environment.meiliApiKey }) setSubject(sub); setClient(client); diff --git a/apps/website/environments/environment.development.ts b/apps/website/environments/environment.development.ts index d4d25d0..c4b1e9a 100644 --- a/apps/website/environments/environment.development.ts +++ b/apps/website/environments/environment.development.ts @@ -3,6 +3,6 @@ export const environment = { strapiUrl: 'http://localhost:1337', strapiApiUrl: 'http://localhost:1337/api', nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", - meiliApiKey: "0e9a9d027b9e6b2d98c9670e5030a8d1aa72cab911fd768d4ad02636ae673690", - meiliMasterKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851" + meiliUrl: "http://127.0.0.1:7700", + meiliApiKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851", } diff --git a/apps/website/environments/environment.prod.ts b/apps/website/environments/environment.prod.ts index 3382f3f..84758a1 100644 --- a/apps/website/environments/environment.prod.ts +++ b/apps/website/environments/environment.prod.ts @@ -3,6 +3,6 @@ export const environment = { strapiUrl: 'https://admin.mecp.nasercloud.fr', strapiApiUrl: 'https://admin.mecp.nasercloud.fr/api', nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", + meiliUrl: "https://ms-b6dafcb0b382-1943.fra.meilisearch.io", meiliApiKey: "0e9a9d027b9e6b2d98c9670e5030a8d1aa72cab911fd768d4ad02636ae673690", - meiliMasterKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851" } diff --git a/apps/website/environments/environment.staging.ts b/apps/website/environments/environment.staging.ts index c146406..1f0f314 100644 --- a/apps/website/environments/environment.staging.ts +++ b/apps/website/environments/environment.staging.ts @@ -3,6 +3,6 @@ export const environment = { strapiUrl: 'https://admin.mecp.nasercloud.fr', strapiApiUrl: 'https://admin.mecp.nasercloud.fr/api', nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", - meiliApiKey: "5266ffc98e51fdae2a418a16e6dfd26d8f9208d8", - meiliMasterKey: "5266ffc98e51fdae2a418a16e6dfd26d8f9208d8" + meiliUrl: "https://ms-b6dafcb0b382-1943.fra.meilisearch.io", + meiliApiKey: "dda9e4a354839db9ae18c3722ae75422515c06525b3a841010928b5256f54e72", } diff --git a/apps/website/environments/environment.ts b/apps/website/environments/environment.ts index d4d25d0..520e2bd 100644 --- a/apps/website/environments/environment.ts +++ b/apps/website/environments/environment.ts @@ -3,6 +3,6 @@ export const environment = { strapiUrl: 'http://localhost:1337', strapiApiUrl: 'http://localhost:1337/api', nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", - meiliApiKey: "0e9a9d027b9e6b2d98c9670e5030a8d1aa72cab911fd768d4ad02636ae673690", - meiliMasterKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851" + meiliUrl: "http://127.0.0.1:7700", + meiliApiKey: "dda9e4a354839db9ae18c3722ae75422515c06525b3a841010928b5256f54e72", }