Spaces:
Running
Running
Upload ai_patch.py
Browse files- 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
|
|
|