Skip auth state check on /internal/ paths (fragment endpoints)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -159,7 +159,7 @@ def create_base_app(
|
||||
async def _check_auth_state():
|
||||
from quart import session as qs
|
||||
from urllib.parse import quote as _quote
|
||||
if request.path.startswith(("/auth/", "/static/", "/.well-known/", "/users/", "/nodeinfo/")):
|
||||
if request.path.startswith(("/auth/", "/static/", "/.well-known/", "/users/", "/nodeinfo/", "/internal/")):
|
||||
return
|
||||
|
||||
uid = qs.get("uid")
|
||||
|
||||
Reference in New Issue
Block a user