fix: fix meiliesearch API Key

feature/homepage
Näser 3 years ago
parent 17af949ec7
commit 38cc1118ab

@ -24,8 +24,8 @@ export function BlogSearch(props: BlogSearchProps) {
if (subject === null) { if (subject === null) {
const sub = new BehaviorSubject(''); const sub = new BehaviorSubject('');
const client = new MeiliSearch({ const client = new MeiliSearch({
host: 'http://127.0.0.1:7700', host: environment.meiliUrl,
apiKey: environment.meiliMasterKey apiKey: environment.meiliApiKey
}) })
setSubject(sub); setSubject(sub);
setClient(client); setClient(client);

@ -3,6 +3,6 @@ export const environment = {
strapiUrl: 'http://localhost:1337', strapiUrl: 'http://localhost:1337',
strapiApiUrl: 'http://localhost:1337/api', strapiApiUrl: 'http://localhost:1337/api',
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP",
meiliApiKey: "0e9a9d027b9e6b2d98c9670e5030a8d1aa72cab911fd768d4ad02636ae673690", meiliUrl: "http://127.0.0.1:7700",
meiliMasterKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851" meiliApiKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851",
} }

@ -3,6 +3,6 @@ export const environment = {
strapiUrl: 'https://admin.mecp.nasercloud.fr', strapiUrl: 'https://admin.mecp.nasercloud.fr',
strapiApiUrl: 'https://admin.mecp.nasercloud.fr/api', strapiApiUrl: 'https://admin.mecp.nasercloud.fr/api',
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP",
meiliUrl: "https://ms-b6dafcb0b382-1943.fra.meilisearch.io",
meiliApiKey: "0e9a9d027b9e6b2d98c9670e5030a8d1aa72cab911fd768d4ad02636ae673690", meiliApiKey: "0e9a9d027b9e6b2d98c9670e5030a8d1aa72cab911fd768d4ad02636ae673690",
meiliMasterKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851"
} }

@ -3,6 +3,6 @@ export const environment = {
strapiUrl: 'https://admin.mecp.nasercloud.fr', strapiUrl: 'https://admin.mecp.nasercloud.fr',
strapiApiUrl: 'https://admin.mecp.nasercloud.fr/api', strapiApiUrl: 'https://admin.mecp.nasercloud.fr/api',
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP",
meiliApiKey: "5266ffc98e51fdae2a418a16e6dfd26d8f9208d8", meiliUrl: "https://ms-b6dafcb0b382-1943.fra.meilisearch.io",
meiliMasterKey: "5266ffc98e51fdae2a418a16e6dfd26d8f9208d8" meiliApiKey: "dda9e4a354839db9ae18c3722ae75422515c06525b3a841010928b5256f54e72",
} }

@ -3,6 +3,6 @@ export const environment = {
strapiUrl: 'http://localhost:1337', strapiUrl: 'http://localhost:1337',
strapiApiUrl: 'http://localhost:1337/api', strapiApiUrl: 'http://localhost:1337/api',
nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP", nextAuthSecret: "yBNW1wrb9CgOvEfbX6EQCvCDqiMkRBZP",
meiliApiKey: "0e9a9d027b9e6b2d98c9670e5030a8d1aa72cab911fd768d4ad02636ae673690", meiliUrl: "http://127.0.0.1:7700",
meiliMasterKey: "f2e963e883cbacf6d4f63e792dc276491b8a866fb837f3fda37b8b78889a6851" meiliApiKey: "dda9e4a354839db9ae18c3722ae75422515c06525b3a841010928b5256f54e72",
} }

Loading…
Cancel
Save