bep40 commited on
Commit
61cd00e
verified
1 Parent(s): 18879bd

restore from commit 719a835ce: main.py (VN_TZ=7, vtv v6 pro UI)

Browse files
Files changed (1) hide show
  1. main.py +2 -2
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=0)) # GMT+0 (UTC)
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 sv2.xemtivitop.comGMT+0EPG vtv.vn</p>")
 
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>")