mirror of
https://github.com/dolphin-emu/www.git
synced 2025-02-16 23:37:40 +00:00
contributing: mention how to bypass security against running on localhost
This commit is contained in:
parent
1bbdcc37dd
commit
193aaf8661
@ -46,6 +46,13 @@ the ``settings.py`` file (in the ``dolweb/`` directory):
|
||||
MEDIA_URL = '/m/user/'
|
||||
STATIC_URL = '/m/static/'
|
||||
|
||||
Remove the redirection to HTTPS and allow localhost by modifying
|
||||
``dolweb/settings.py``:
|
||||
|
||||
SECURE_SSL_REDIRECT = False
|
||||
|
||||
ALLOWED_HOSTS = ['localhost']
|
||||
|
||||
Then run ``migrate`` to create a default database.
|
||||
|
||||
python manage.py migrate
|
||||
|
Loading…
x
Reference in New Issue
Block a user