Added certificate regeneration. Refactored server dashboard.
This commit is contained in:
1 parent
664e7be9f0
commit
9cf782ffd6
3 files changed
+45
-32
No files matched your search
@@ -174,7 +174,7 @@
|
||||
if (!response.ok) {
|
||||
throw new Error("Certificate regeneration failed.");
|
||||
}
|
||||
window.location.href = "/api/v1/keys/" + keyId + "/certificate";
|
||||
window.alert("Certificate regenerated.");
|
||||
})
|
||||
.catch(function (err) {
|
||||
window.alert(err.message);
|
||||
|
||||
Reference in new issue
Block a user