mybuddy/babybuddy/settings/gitpod.py

10 lines
326 B
Python
Raw Normal View History

from .development import *
# CSRF configuration
2024-01-14 04:22:08 +00:00
# https://docs.djangoproject.com/en/5.0/ref/settings/#std:setting-CSRF_TRUSTED_ORIGINS
# https://www.gitpod.io/docs/environment-variables/#default-environment-variables
CSRF_TRUSTED_ORIGINS = [
os.environ.get("GITPOD_WORKSPACE_URL").replace("https://", "https://8000-")
2022-02-20 22:32:54 +00:00
]