Skip to content

Commit

Permalink
Agrega allowed_hosts a configuracion mediante env
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo Jacznik committed May 26, 2024
1 parent 40df6f1 commit e5b476d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vetsoft/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
else:
SECRET_KEY = os.environ.get('SECRET_KEY')
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
ALLOWED_HOSTS = ",".split(os.environ.get('ALLOWED_HOSTS'))

# Application definition

Expand Down

0 comments on commit e5b476d

Please sign in to comment.