CORS/app/main.py

9 lines
118 B
Python
Executable File

from fastapi import FastAPI
app = FastAPI()
@app.get("/")
async def read_main():
return {"msg": "Hello World"}