Spaces:
Running
Running
restore from commit 719a835ce: main.py (VN_TZ=7, vtv v6 pro UI)
Browse files
main.py
CHANGED
|
@@ -4,7 +4,7 @@ import html as html_lib
|
|
| 4 |
from datetime import datetime, timezone, timedelta
|
| 5 |
from collections import defaultdict
|
| 6 |
|
| 7 |
-
VN_TZ = timezone(timedelta(hours=
|
| 8 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 9 |
from fastapi import FastAPI, Query, Request
|
| 10 |
from fastapi.responses import HTMLResponse, JSONResponse, StreamingResponse, Response
|
|
@@ -517,4 +517,4 @@ def api_hot_topics():
|
|
| 517 |
|
| 518 |
@app.get("/", response_class=HTMLResponse)
|
| 519 |
async def root():
|
| 520 |
-
return HTMLResponse("<h1>VNEWS v17</h1><p>VTV
|
|
|
|
| 4 |
from datetime import datetime, timezone, timedelta
|
| 5 |
from collections import defaultdict
|
| 6 |
|
| 7 |
+
VN_TZ = timezone(timedelta(hours=7))
|
| 8 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 9 |
from fastapi import FastAPI, Query, Request
|
| 10 |
from fastapi.responses import HTMLResponse, JSONResponse, StreamingResponse, Response
|
|
|
|
| 517 |
|
| 518 |
@app.get("/", response_class=HTMLResponse)
|
| 519 |
async def root():
|
| 520 |
+
return HTMLResponse("<h1>VNEWS v17</h1><p>VTV Digital CDN ssaimh 路 No shorts Dantri/SKDS 路 Homepage full content</p>")
|