INNER CODE UNIT · Python

lifespan

aadya940/autoresume · app/backend/src/main.py:26

async def lifespan(app: FastAPI):
    yield


app = FastAPI(lifespan=lifespan)


origins = [
    "*",
]

app.add_middleware(
    CORSMiddleware,
    allow_origins=origins,
    allow_credentials=True,
    allow_methods=["*"],
    allow_headers=["*"],
)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…