Skip to content

Commit

Permalink
aallowed hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
NvdLaan committed Jul 16, 2024
1 parent 1f8bee9 commit d99c4b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions app/config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
ENVIRONMENT = os.getenv("ENVIRONMENT")
DEBUG = ENVIRONMENT == "local"

ALLOWED_HOSTS = []


# Application definition
ALLOWED_HOSTS = ["*"]

INSTALLED_APPS = [
'django.contrib.admin',
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ services:
- database
env_file:
- .env
command: bash -c "/app/deploy/docker-entrypoint.sh && exec python -m manage runserver 0.0.0.0:8000"
# command: bash -c "/app/deploy/docker-entrypoint.sh && exec python -m manage runserver 0.0.0.0:8000"
volumes:
- ./app:/app
stdin_open: true
Expand Down

0 comments on commit d99c4b2

Please sign in to comment.