bep40 commited on
Commit
73ab8a2
·
verified ·
1 Parent(s): c48aeb2

Upload ai_patch.py

Browse files
Files changed (1) hide show
  1. ai_patch.py +1 -2
ai_patch.py CHANGED
@@ -913,5 +913,4 @@ def api_ai_shorts():
913
  posts = [p for p in base._load_ai_wall() if p.get('video')]
914
  return JSONResponse({'posts': posts[:80]})
915
 
916
-
917
- app.router.routes = [r for r in app.router.routes if not (getattr(r, 'path', None) == '/' and 'GET' in getattr(r, 'methods', set()))]
 
913
  posts = [p for p in base._load_ai_wall() if p.get('video')]
914
  return JSONResponse({'posts': posts[:80]})
915
 
916
+ # Root route is managed by app_v2_entry.py (serve_index) - do NOT remove it here