modify to work with fastapi run

This commit is contained in:
Donatas Rasiukevicius
2024-06-12 09:04:50 +02:00
parent 06849866f8
commit 7401dcca6a

7
app.py Normal file
View File

@@ -0,0 +1,7 @@
from fastapi import FastAPI
app = FastAPI(port=8080)
@app.get("/")
def index():
return {"message": "Hello, World!"}