Skip to content

Commit

Permalink
Run development web server in insecure mode
Browse files Browse the repository at this point in the history
The development web container doesn't work properly if
 `DJANGO_DEBUG=False` is set in `nav.conf`, since the staticfiles app
 would not serve most static resources in that case.  This would
 prevent us from seeing what a non-debug site looks like while
 developing.
  • Loading branch information
lunkwill42 committed May 25, 2023
1 parent fe2ceb5 commit d8aeb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/docker/web.sh
Expand Up @@ -8,4 +8,4 @@ mydir=$(dirname $0)
cd /source


django-admin check && exec django-admin runserver 0.0.0.0:80
django-admin check && exec django-admin runserver --insecure 0.0.0.0:80

0 comments on commit d8aeb60

Please sign in to comment.