Skip to content

Conversation

@joshuajcoronado
Copy link
Contributor

  • Added support for configuring allowed hosts dynamically using the ALLOWED_HOSTS environment variable.
  • Fallback to a default list of allowed hosts: ["gitingest.com", "*.gitingest.com", "gitdigest.dev", "localhost"]
  • Ensures compatibility with custom deployments while maintaining existing defaults.
  • Updated src/main.py to implement the changes.
  • Updates README.md on usage

@cyclotruc
Copy link
Member

Perfect, thank you very much!

@cyclotruc cyclotruc merged commit 1104242 into coderamp-labs:main Dec 16, 2024
FOLKS-Tech pushed a commit to FOLKS-Tech/gitingest that referenced this pull request Sep 5, 2025
…ar (coderamp-labs#31)

* feat: Make TrustedHostMiddleware configurable via ALLOWED_HOSTS env var

* feat: Make TrustedHostMiddleware configurable via ALLOWED_HOSTS env var

* feat: Make TrustedHostMiddleware configurable via ALLOWED_HOSTS env var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants