Merge pull request 'fix' (#33) from master into prod
Reviewed-on: https://gitea.sprinthub.ru/self/certupdater/pulls/33
This commit was merged in pull request #33.
This commit is contained in:
3
main.py
3
main.py
@@ -24,7 +24,10 @@ def call(command: str) -> Response:
|
||||
|
||||
|
||||
def get_hosts() -> list[str]:
|
||||
if os.getenv("STAGE") == "development":
|
||||
return list(set(configurator.get_config("hosts") + ["platform.develop.sprinthub.ru"]))
|
||||
else:
|
||||
return list(set(configurator.get_config("hosts") + ["platform.sprinthub.ru"]))
|
||||
|
||||
|
||||
def update_host(host: str) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user