Skip to content

Commit

Permalink
perf: change market default url (#1392)
Browse files Browse the repository at this point in the history
Co-authored-by: 张启航 <[email protected]>
  • Loading branch information
ZhangSetSail and 张启航 authored Sep 4, 2023
1 parent 058932a commit c9cc8d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion console/repositories/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ class AppMarketRepository(object):
def create_default_app_market_if_not_exists(self, markets_all, eid):
access_key = os.getenv("DEFAULT_APP_MARKET_ACCESS_KEY", "")
domain = os.getenv("DEFAULT_APP_MARKET_DOMAIN", "rainbond")
url = os.getenv("DEFAULT_APP_MARKET_URL", "https://store.goodrain.com")
url = os.getenv("DEFAULT_APP_MARKET_URL", "https://hub.grapps.cn")
name = os.getenv("DEFAULT_APP_MARKET_NAME", "RainbondMarket")
markets = markets_all.filter(domain=domain, url=url)

Expand Down
2 changes: 1 addition & 1 deletion console/services/config_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def initialization_or_get_config(self):
rst_data = {key.lower(): {"enable": tar_key.enable, "value": rst_value}}
rst_datas.update(rst_data)

rst_datas["default_market_url"] = os.getenv("DEFAULT_APP_MARKET_URL", "https://store.goodrain.com")
rst_datas["default_market_url"] = os.getenv("DEFAULT_APP_MARKET_URL", "https://hub.grapps.cn")
return rst_datas

def update_config(self, key, value):
Expand Down

0 comments on commit c9cc8d0

Please sign in to comment.