diff --git a/index.html b/index.html new file mode 100644 index 0000000..e76b4e7 --- /dev/null +++ b/index.html @@ -0,0 +1,11 @@ + + + + Rock Paper Scissors + + +
+ Hello world +
+ + diff --git a/main.py b/main.py new file mode 100644 index 0000000..0e54903 --- /dev/null +++ b/main.py @@ -0,0 +1,10 @@ +from fastapi import FastAPI +from fastapi.responses import HTMLResponse + +app = FastAPI() + +html = open("index.html").read() + +@app.get("/") +async def root(): + return HTMLResponse(html)