Skip to content

Commit 8ebc703

Browse files
committed
Update entrypoint
1 parent 6024914 commit 8ebc703

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

code/function/function_app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ async def shutdown_event():
3232
app=fastapi_app,
3333
http_auth_level=func.AuthLevel.ANONYMOUS,
3434
)
35+
36+
37+
async def main(req: func.HttpRequest, context: func.Context) -> func.HttpResponse:
38+
return await app.handle_async(req, context)

0 commit comments

Comments
 (0)