diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index 32193316c..bdc17d5d1 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -87,7 +87,7 @@ def get_logged_in_user(): else: session.pop("lo_user") - if request.path not in {'/contact', '/reply'} and v and v.is_underage: + if request.path not in {'/contact', '/reply', '/socket.io/'} and v and v.is_underage: abort(406) if request.method != "GET" and get_setting('read_only_mode') and not (v and v.admin_level >= PERMS['BYPASS_SITE_READ_ONLY_MODE']):