nicehero commited on
Commit
6e4ee5d
·
1 Parent(s): 704ab99
Files changed (1) hide show
  1. main.py +4 -3
main.py CHANGED
@@ -37,10 +37,11 @@ async def log_error(request: Request):
37
 
38
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
39
 
 
 
 
 
40
  @app.get("/")
41
  def index() -> FileResponse:
42
  return FileResponse(path="/app/static/index.html", media_type="text/html")
43
 
44
- @app.get("/tg")
45
- def tg() -> FileResponse:
46
- return FileResponse(path="/app/static/tg.html", media_type="text/html")
 
37
 
38
  app.mount("/", StaticFiles(directory="static", html=True), name="static")
39
 
40
+ @app.get("/tg")
41
+ def tg() -> FileResponse:
42
+ return FileResponse(path="/app/static/tg.html", media_type="text/html")
43
+
44
  @app.get("/")
45
  def index() -> FileResponse:
46
  return FileResponse(path="/app/static/index.html", media_type="text/html")
47