From 1dc0c3417afb72e9b88c139896d1653b8f1b3827 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 23 Mar 2022 18:15:59 +0200 Subject: [PATCH] fsd --- files/routes/chat.py | 5 +- files/templates/chat.html | 155 +------------------------------------- 2 files changed, 6 insertions(+), 154 deletions(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 041882fa7..8d164a00f 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 e84f6d052..0c7f41748 100644 --- a/files/templates/chat.html +++ b/files/templates/chat.html @@ -76,159 +76,10 @@ - - - + + +