Skip to content

Commit

Permalink
pytest.ini: define ALLOWED_HOSTS
Browse files Browse the repository at this point in the history
This fixes running `./bw-dev pytest` locally when having a different value defined for
`ALLOWED_HOSTS` in `.env`.
  • Loading branch information
BartSchuurmans committed Mar 11, 2024
1 parent 304c478 commit 3ba528e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env =
DEBUG = false
USE_HTTPS = true
DOMAIN = your.domain.here
ALLOWED_HOSTS = your.domain.here
BOOKWYRM_DATABASE_BACKEND = postgres
MEDIA_ROOT = images/
CELERY_BROKER = ""
Expand Down

0 comments on commit 3ba528e

Please sign in to comment.