bep40 commited on
Commit
4c407fe
·
verified ·
1 Parent(s): 0e2f303

Delete static/main_patch.py, app_v2_entry.py.orig

Browse files
Files changed (1) hide show
  1. static/main_patch.py +0 -10
static/main_patch.py DELETED
@@ -1,10 +0,0 @@
1
- # PATCH for main.py - add the detail route
2
- # Apply this by adding after line 397 in main.py:
3
- #
4
- # @app.get("/api/match/{event_id}/detail")
5
- # def api_match_detail(event_id:int, url:str=Query(default=None)):
6
- # """Get match detail. Optional 'url' param with full bongda URL (with slug) for HTML scraping."""
7
- # from match_detail import fetch_match_detail, fetch_match_detail_by_url
8
- # if url:
9
- # return JSONResponse(fetch_match_detail_by_url(url))
10
- # return JSONResponse(fetch_match_detail(event_id))