Skip to content

Commit bf4e64c

Browse files
authored
update BlackSheep template (#1195)
1 parent 452e322 commit bf4e64c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

piccolo/apps/asgi/commands/templates/app/_blacksheep_app.py.jinja

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,5 @@ async def close_database_connection_pool(application):
115115

116116
app.on_start += open_database_connection_pool
117117
app.on_stop += close_database_connection_pool
118+
119+
app.router.apply_routes()

0 commit comments

Comments
 (0)