Skip to content

Commit

Permalink
set the middleware proxy address for globalsearchbase
Browse files Browse the repository at this point in the history
  • Loading branch information
zotya committed Mar 3, 2023
1 parent b710a4f commit d0a0802
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ export default function install(config) {
if (typeof window !== 'undefined') {
config.searchui.globalsearch.host =
process.env.RAZZLE_ES_PROXY_ADDR || getClientProxyAddress();

config.searchui.globalsearchbase.host =
process.env.RAZZLE_ES_PROXY_ADDR || getClientProxyAddress();
}

config.searchui.standalone = {
Expand Down

0 comments on commit d0a0802

Please sign in to comment.