mirror of
https://github.com/devproje/balance-application.git
synced 2024-10-20 15:11:21 +00:00
11 lines
239 B
Python
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)
|