Skip to content

Comments

Merge Setup into Main#9

Open
bdtran2002 wants to merge 7 commits intomainfrom
setup
Open

Merge Setup into Main#9
bdtran2002 wants to merge 7 commits intomainfrom
setup

Conversation

@bdtran2002
Copy link
Contributor

No description provided.

Copilot AI and others added 7 commits February 17, 2026 00:58
Co-authored-by: Davictory2003 <68972845+Davictory2003@users.noreply.github.com>
Co-authored-by: Davictory2003 <68972845+Davictory2003@users.noreply.github.com>
Co-authored-by: Davictory2003 <68972845+Davictory2003@users.noreply.github.com>
Fix Docker Compose frontend-to-backend networking
Strip whitespace from comma-separated environment variables in Django settings
Copilot AI review requested due to automatic review settings February 18, 2026 20:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR merges setup-related improvements from a setup branch into main, enhancing the Docker configuration and improving environment variable handling in the Django backend.

Changes:

  • Added BACKEND_URL environment variable to frontend service in docker-compose.yml
  • Refactored ALLOWED_HOSTS parsing in Django settings to strip whitespace and filter empty values

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docker-compose.yml Adds BACKEND_URL environment variable to frontend service for Vite proxy configuration
backend/cheat_sheet/settings.py Refactors ALLOWED_HOSTS to use list comprehension with strip() and empty string filtering, matching the pattern used for CORS_ALLOWED_ORIGINS

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

4 participants