diff --git a/files/routes/chat.py b/files/routes/chat.py index 041882fa79..8d164a00f9 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -1,6 +1,7 @@ import sys -if "load_chat" in sys.argv: - from files.helpers.const import SITE_FULL +from files.helpers.const import SITE, SITE_FULL + +if "load_chat" in sys.argv or SITE == 'localhost': import time from files.helpers.wrappers import auth_required from files.helpers.sanitize import sanitize diff --git a/files/templates/chat.html b/files/templates/chat.html index e84f6d052d..0c7f417486 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -76,159 +76,10 @@ - - - + + +