Commit ff72f839 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Changes demo site detection

parent 49f8922b
Pipeline #8697206 passed with stage
in 3 minutes and 18 seconds
......@@ -19,7 +19,7 @@ def demoSite(value):
allowed_hosts = getattr(settings, 'ALLOWED_HOSTS', '')
if 'democlmsvault.tyerslab.com' in allowed_hosts:
if 'demo' in allowed_hosts:
return True
return False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment