Spaces:
Running
Running
Upload app_v2_entry.py with huggingface_hub
Browse files- app_v2_entry.py +1 -1
app_v2_entry.py
CHANGED
|
@@ -576,7 +576,7 @@ def api_vtv_nambo_shorts():
|
|
| 576 |
_xlb_cache = {}
|
| 577 |
_xlb_ttl = 600
|
| 578 |
|
| 579 |
-
@app.get('/api/proxy/xlb/highlights/{category}')
|
| 580 |
def api_xlb_highlights(category: str):
|
| 581 |
"""Proxy xemlaibongda highlights to avoid CORS/IP issues."""
|
| 582 |
cache_key = f'xlb_hl_{category}'
|
|
|
|
| 576 |
_xlb_cache = {}
|
| 577 |
_xlb_ttl = 600
|
| 578 |
|
| 579 |
+
@app.get('/api/proxy/xlb/highlights/{category:path}')
|
| 580 |
def api_xlb_highlights(category: str):
|
| 581 |
"""Proxy xemlaibongda highlights to avoid CORS/IP issues."""
|
| 582 |
cache_key = f'xlb_hl_{category}'
|