From 97398b56c48f9ad8ff72e816eb46a3e967d3ed8e Mon Sep 17 00:00:00 2001 From: terwer Date: Mon, 20 Mar 2023 20:28:52 +0800 Subject: [PATCH] chore: add MEILISEARCH_ENDPOINT --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index f9321876..4d5e9e19 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -66,7 +66,7 @@ export default defineNuxtConfig({ }, css: ["~/assets/vdoing/styles/index.styl"], meilisearch: { - hostUrl: "http://localhost:3000/api/endpoint/meilisearch", + hostUrl: process.env.MEILISEARCH_ENDPOINT ?? "http://localhost:3000/api/endpoint/meilisearch", // hostUrl: "http://localhost:7700", searchApiKey: "", adminApiKey: "",