wip: edit Dockerfile

This commit is contained in:
Jayden Pyles
2024-05-18 22:14:06 -05:00
parent 20d1a26881
commit 875bce55c4
2 changed files with 5 additions and 15 deletions

View File

@@ -25,3 +25,8 @@ app.mount("/static", StaticFiles(directory="./build/static"), name="static")
@app.get("/")
def read_root():
return FileResponse("./build/index.html")
@app.get("/api/endpoint")
async def test_endpoint():
return {"hello": "world"}