mirror of
https://github.com/jaypyles/Scraperr.git
synced 2025-12-09 17:25:38 +00:00
wip: edit Dockerfile
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user