Update app.py

This commit is contained in:
Donatas
2024-07-31 10:47:42 +02:00
committed by GitHub
parent 5e542b9e29
commit 4aab7b2f26

4
app.py
View File

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