dgf
parent
c96992f67b
commit
7c88c2e7e5
|
@ -117,7 +117,10 @@ def after_request(response):
|
||||||
response.headers.add("X-Frame-Options", "deny")
|
response.headers.add("X-Frame-Options", "deny")
|
||||||
return response
|
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 *
|
from files.routes.chat import *
|
||||||
else:
|
else:
|
||||||
from files.routes import *
|
from files.routes import *
|
|
@ -40,7 +40,6 @@
|
||||||
#chat-window {
|
#chat-window {
|
||||||
-ms-overflow-style: none;
|
-ms-overflow-style: none;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
flex-direction: column-reverse !important;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-mention {
|
.chat-mention {
|
||||||
|
@ -189,7 +188,7 @@
|
||||||
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
<input id="site_name" type="hidden" value="{{SITE_NAME}}">
|
||||||
<input id="slurreplacer" type="hidden" value="{{v.slurreplacer}}">
|
<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 "emoji_modal.html" %}
|
||||||
{% include "expanded_image_modal.html" %}
|
{% include "expanded_image_modal.html" %}
|
||||||
|
|
Loading…
Reference in New Issue