patloeber commited on
Commit
f1b9f3d
1 Parent(s): ba25f4b

updated main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -0
main.py CHANGED
@@ -18,3 +18,8 @@ app.mount("/", StaticFiles(directory="static", html=True), name="static")
18
  @app.get("/")
19
  def index() -> FileResponse:
20
  return FileResponse(path="/app/static/index.html", media_type="text/html")
 
 
 
 
 
 
18
  @app.get("/")
19
  def index() -> FileResponse:
20
  return FileResponse(path="/app/static/index.html", media_type="text/html")
21
+
22
+
23
+ @app.get("/home")
24
+ def home():
25
+ return {"Hello": "World"}