Link the API in the header
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
</div>
|
||||
<div class="ml-auto">
|
||||
<a href="https://www.msys2.org" class="btn btn-sm btn-outline-primary ml-auto">Get MSYS2</a>
|
||||
<a href="https://github.com/msys2/msys2-web" class="btn btn-sm btn-outline-info">Fork on GitHub</a>
|
||||
<a href="https://github.com/msys2/msys2-web" class="btn btn-sm
|
||||
btn-outline-info">Fork on GitHub</a>
|
||||
<a href="{{ url_for('api', path='/') }}" class="btn btn-sm btn-outline-success">API</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Reference in New Issue
Block a user