Add UI endpoint for bidirectional-status to fix 403 auth error

This commit is contained in:
2026-02-01 14:30:55 +08:00
parent be55d08c0a
commit 847933b7c0
3 changed files with 221 additions and 6 deletions

View File

@@ -568,7 +568,7 @@
wizardLink.classList.add('d-none');
modal.show();
fetch('/admin/sites/' + encodeURIComponent(siteId) + '/bidirectional-status')
fetch('/ui/sites/peers/' + encodeURIComponent(siteId) + '/bidirectional-status')
.then(response => response.json())
.then(data => {
let html = '';