Skip to content

Commit bdfe34b

Browse files
Add default core, optout base url
1 parent 1daba54 commit bdfe34b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/aws/ec2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ def __add_defaults(configs: Dict[str, any]) -> OperatorConfig:
6161
configs.setdefault("enclave_memory_mb", 24576)
6262
configs.setdefault("enclave_cpu_count", 6)
6363
configs.setdefault("debug_mode", False)
64+
configs.setdefault("core_base_url", "https://core.uidapi.com" if configs["environment"] == "prod" else "https://core-integ.uidapi.com")
65+
configs.setdefault("optout_base_url", "https://optout.uidapi.com" if configs["environment"] == "prod" else "https://optout-integ.uidapi.com")
6466
return configs
6567

6668
@staticmethod

0 commit comments

Comments
 (0)