added missing script tag

This commit is contained in:
2025-11-05 23:36:43 +01:00
parent f5333a7523
commit 7e8ca69373
2 changed files with 1 additions and 2 deletions

View File

@@ -55,7 +55,6 @@ def on_connect():
@main.after_request
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 :
print("** INJECTION TEST PASSED **")
if response.direct_passthrough:
response.direct_passthrough = False
body = response.get_data(as_text=True)

View File

@@ -5,7 +5,7 @@
<title>Live Confusion Alerts</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/output.css') }}">
<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>
<body class="bg-background min-h-screen">
<nav class="bg-white border-gray-200 dark:bg-gray-900">