Skip to content

Commit

Permalink
Merge pull request #41 from nens/allowed_hosts
Browse files Browse the repository at this point in the history
added localhost to allowed hosts
  • Loading branch information
JJFlorian authored Apr 8, 2024
2 parents a39fe41 + 69b71e9 commit 6318be6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion brostar_api/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
BASE_DIR = Path(__file__).resolve().parent.parent


ALLOWED_HOSTS = []
ALLOWED_HOSTS = ["localhost", "127.0.0.1", "0.0.0.0"]

if not DEBUG:
ALLOWED_HOSTS = [".brostar.nl"]

Expand Down

0 comments on commit 6318be6

Please sign in to comment.