瀏覽代碼

added ALLOWED_HOSTS for base settings

Radu Boncea 7 年之前
父節點
當前提交
841e746dc8
共有 1 個文件被更改,包括 4 次插入1 次删除
  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']