diff --git a/config/settings/development.py b/config/settings/development.py index 9997f35..4352aeb 100644 --- a/config/settings/development.py +++ b/config/settings/development.py @@ -19,11 +19,11 @@ if not SECRET_KEY: # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -# Development-only hosts - production domains should NOT be here -ALLOWED_HOSTS = ['localhost', '127.0.0.1', '[::1]', '10.0.2.2', '192.168.1.241'] +# Development-only hosts +ALLOWED_HOSTS = ['localhost', '127.0.0.1', '[::1]', '10.0.2.2', '192.168.1.241', 'tasks.firebugit.com'] # CSRF - for development testing only -CSRF_TRUSTED_ORIGINS = os.environ.get('CSRF_TRUSTED_ORIGINS', '').split(',') if os.environ.get('CSRF_TRUSTED_ORIGINS') else [] +CSRF_TRUSTED_ORIGINS = os.environ.get('CSRF_TRUSTED_ORIGINS', '').split(',') if os.environ.get('CSRF_TRUSTED_ORIGINS') else ['https://tasks.firebugit.com'] # Database - SQLite for development DATABASES = {