From bfb2e1dc8faef39f294752295d5ee854b6855ee6 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 11 Jul 2020 15:00:56 +0200 Subject: [PATCH] Link the API in the header --- app/__init__.py | 2 +- app/templates/layout.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/__init__.py b/app/__init__.py index 4eed855..635d84b 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -12,7 +12,7 @@ from .fetch import update_loop app = FastAPI(openapi_url=None) -webapp.mount("/api", api) +webapp.mount("/api", api, name="api") app.mount("/", webapp) diff --git a/app/templates/layout.html b/app/templates/layout.html index fcb5550..c450ced 100644 --- a/app/templates/layout.html +++ b/app/templates/layout.html @@ -26,7 +26,9 @@
Get MSYS2 - Fork on GitHub + Fork on GitHub + API