Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

Commit 28cf35c

Browse files
Update hosts
1 parent 386372f commit 28cf35c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

codecov/settings_staging.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
DEBUG = False
66
THIS_POD_IP = os.environ.get("THIS_POD_IP")
7-
ALLOWED_HOSTS = ["*"]
7+
ALLOWED_HOSTS = get_config(
8+
"setup", "api_allowed_hosts", default=["stage-api.codecov.dev"]
9+
)
810
if THIS_POD_IP:
911
ALLOWED_HOSTS.append(THIS_POD_IP)
1012

0 commit comments

Comments
 (0)