From bca9b953211ce1f705dac4ec95b658172fa035a3 Mon Sep 17 00:00:00 2001 From: Kyriakos Akriotis Date: Thu, 11 Jul 2024 22:38:28 +0200 Subject: [PATCH] added REACT_APP_ prefix to env vars --- docusaurus.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 7bd180f84..4f5bbe7e2 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -224,12 +224,12 @@ const config: Config = { typesenseServerConfig: { nodes: [ { - host: process.env.TYPESENSE_HOST, - port: process.env.TYPESENSE_PORT, - protocol: process.env.TYPESENSE_PROTOCOL, + host: process.env.REACT_APP_TYPESENSE_HOST, + port: process.env.REACT_APP_TYPESENSE_PORT, + protocol: process.env.REACT_APP_TYPESENSE_PROTOCOL, }, ], - apiKey: process.env.TYPESENSE_API_KEY, + apiKey: process.env.REACT_APP_TYPESENSE_API_KEY, }, // Optional: Typesense search parameters: https://typesense.org/docs/0.24.0/api/search.html#search-parameters