Skip to content

Commit

Permalink
added REACT_APP_ prefix to env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyriakos Akriotis committed Jul 11, 2024
1 parent c4d3007 commit bca9b95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bca9b95

Please sign in to comment.