devrama
This commit is contained in:
parent
c20f5bf6f0
commit
52e326c60e
7 changed files with 39 additions and 9 deletions
|
@ -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 *
|
Loading…
Add table
Add a link
Reference in a new issue