This commit is contained in:
Aevann1 2022-04-04 19:52:14 +02:00
parent c20f5bf6f0
commit 52e326c60e
7 changed files with 39 additions and 9 deletions

View file

@ -116,8 +116,7 @@ def after_request(response):
response.headers.add("X-Frame-Options", "deny")
return response
if "load_chat" in argv or app.config["SERVER_NAME"] == 'localhost':
if "load_chat" in argv:
from files.routes.chat import *
if "load_chat" not in argv:
else:
from files.routes import *