mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-26 20:00:27 +03:00
*: allows for BASE_PATH configuration
This should unblock users who'd like to run the UI under a subpath on an existing vhost of their reverse proxy. This is far from behind the most pretty/smart way to do it, but it works for all intent and purposes. Fixes https://github.com/ngoduykhanh/wireguard-ui/issues/37
This commit is contained in:
parent
a667efaa19
commit
63f88ab63d
12 changed files with 97 additions and 78 deletions
|
@ -26,7 +26,7 @@ function renderClientList(data) {
|
|||
</div>
|
||||
<div class="info-box-content">
|
||||
<div class="btn-group">
|
||||
<a href="/download?clientid=${obj.Client.id}" class="btn btn-outline-primary btn-sm">Download</a>
|
||||
<a href="download?clientid=${obj.Client.id}" class="btn btn-outline-primary btn-sm">Download</a>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-outline-primary btn-sm" data-toggle="modal"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue