added missing script tag
This commit is contained in:
@@ -55,7 +55,6 @@ def on_connect():
|
|||||||
@main.after_request
|
@main.after_request
|
||||||
def inject_confused_button(response):
|
def inject_confused_button(response):
|
||||||
if (slidev_deck_pattern.match(request.path) or request.path == '/') and response.content_type.startswith('text/html') and not flask_login.current_user.is_authenticated :
|
if (slidev_deck_pattern.match(request.path) or request.path == '/') and response.content_type.startswith('text/html') and not flask_login.current_user.is_authenticated :
|
||||||
print("** INJECTION TEST PASSED **")
|
|
||||||
if response.direct_passthrough:
|
if response.direct_passthrough:
|
||||||
response.direct_passthrough = False
|
response.direct_passthrough = False
|
||||||
body = response.get_data(as_text=True)
|
body = response.get_data(as_text=True)
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<title>Live Confusion Alerts</title>
|
<title>Live Confusion Alerts</title>
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/output.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/output.css') }}">
|
||||||
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
||||||
<script src="{{ url_for('static', filename='js/socket.io.min.js') }}">
|
<script src="{{ url_for('static', filename='js/socket.io.min.js') }}"></script>
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-background min-h-screen">
|
<body class="bg-background min-h-screen">
|
||||||
<nav class="bg-white border-gray-200 dark:bg-gray-900">
|
<nav class="bg-white border-gray-200 dark:bg-gray-900">
|
||||||
|
|||||||
Reference in New Issue
Block a user