remotes/1693045480750635534/spooky-22
Aevann1 2022-05-04 23:42:34 +02:00
parent c96992f67b
commit 7c88c2e7e5
2 changed files with 5 additions and 3 deletions

View File

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

View File

@ -40,7 +40,6 @@
#chat-window {
-ms-overflow-style: none;
scrollbar-width: none;
flex-direction: column-reverse !important;
}
.chat-mention {
@ -189,7 +188,7 @@
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
<script src="/chat.js?v=18"></script>
<script src="/chat.js?v=20"></script>
{% include "emoji_modal.html" %}
{% include "expanded_image_modal.html" %}