Browse Source

added ALLOWED_HOSTS for base settings

Radu Boncea 7 years ago
parent
commit
841e746dc8
1 changed files with 4 additions and 1 deletions
  1. 4 1
      website/settings/base.py

+ 4 - 1
website/settings/base.py

@@ -158,4 +158,7 @@ WAGTAIL_SITE_NAME = "website"
 
 # Base URL to use when referring to full URLs within the Wagtail admin backend -
 # e.g. in notification emails. Don't include '/admin' or a trailing slash
-BASE_URL = 'http://example.com'
+BASE_URL = 'http://resinfotd.ici.ro'
+
+
+ALLOWED_HOSTS = ['resinfotd.ici.ro', '127.0.0.1']