Skip to content

Commit

Permalink
fix: tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom JEANNESSON committed Jan 11, 2024
1 parent c740665 commit 7a9b5a2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion backend/config/settings/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
ALLOWED_HOSTS = ["django", "localhost", env("NAPSE_API_DOMAIN")]
ALLOWED_HOSTS = ["django", env("NAPSE_API_DOMAIN")]
print("ALLOWED_HOSTS", ALLOWED_HOSTS)


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/bin/bash

eval $(/opt/elasticbeanstalk/bin/get-config environment | jq -r 'to_entries[] | "\(.key)=\(.value)"')
/opt/elasticbeanstalk/bin/get-config environment
export NAPSE_API_DOMAIN=napse-env.eba-vm2tsihk.eu-west-3.elasticbeanstalk.com

0 comments on commit 7a9b5a2

Please sign in to comment.