Skip to content

Commit 3e6abc6

Browse files
authored
Merge pull request #79 from swisstopo/ltbam-patch-1
Update __init__.py
2 parents c84a152 + da6931b commit 3e6abc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routing_packager_app/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def create_app(lifespan: Optional[Lifespan[FastAPI]]):
1919
description = fh.read()
2020

2121
BASE_DIR = Path(__file__).resolve().parent
22+
app = FastAPI(title="Routing Graph Packager App", description=description, lifespan=lifespan)
2223
app.mount("/static", StaticFiles(directory=f"{BASE_DIR}/static"), name="static")
2324

2425
register_middlewares(app)

0 commit comments

Comments
 (0)