app: make it possible to serve lldap behind a sub-path

This commit is contained in:
MinerSebas authored and nitnelave committed 2023-12-07 18:21:49 +01:00
1 parent ec0737c58a
commit 70d85524db
6 files changed
+88 -35

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ impl App {
<header class="p-2 mb-3 border-bottom">
<div class="container">
<div class="d-flex flex-wrap align-items-center justify-content-center justify-content-lg-start">
<a href="/" class="d-flex align-items-center mt-2 mb-lg-0 me-md-5 text-decoration-none">
<a href={yew_router::utils::base_url().unwrap_or("/".to_string())} class="d-flex align-items-center mt-2 mb-lg-0 me-md-5 text-decoration-none">
<h2>{"LLDAP"}</h2>
</a>