mirror of
https://github.com/swissmakers/wireguard-manager.git
synced 2026-04-01 08:47:07 +02:00
Update base.html (#242)
This commit is contained in:
@@ -376,7 +376,7 @@
|
||||
$("#modal_new_client").modal('hide');
|
||||
toastr.success('Created new client successfully');
|
||||
// Update the home page (clients page) after adding successfully
|
||||
if (window.location.pathname === "/") {
|
||||
if (window.location.pathname === "{{.basePath}}/") {
|
||||
populateClient(resp.id);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user