balance-application/app.py
2024-09-10 13:14:09 +09:00

11 lines
239 B
Python

from routes.balance import router
from fastapi import FastAPI, Response
app = FastAPI()
@app.get("/")
def index(resp: Response):
resp.headers.setdefault("Content-Type", "text")
return "Hello, World!"
app.include_router(router=router)