Cloud-CV/EvalAI

View on GitHub
settings/staging.py

Summary

Maintainability
A
0 mins
Test Coverage
from .prod import *  # noqa: ignore=F405

ALLOWED_HOSTS = ["staging.eval.ai", "monitoring-staging.eval.ai"]

CORS_ORIGIN_ALLOW_ALL = False

CORS_ORIGIN_WHITELIST = (
    "https://evalai.s3.amazonaws.com",
    "https://staging-evalai.s3.amazonaws.com",
    "https://staging.eval.ai",
    "https://monitoring-staging.eval.ai",
    "https://monitoring.eval.ai",
)