added missing script tag
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user