Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: change market default url #1392

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading