Fix 401 on poll-status: remove auth requirement from read-only status endpoint
Agent-Logs-Url: https://github.com/christianlouis/dmarq/sessions/15d037ef-2d5e-44ab-a15d-7908187e9106 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -200,6 +200,10 @@ function dashboardApp() {
|
||||
async getImapStatus() {
|
||||
try {
|
||||
const response = await fetch('/api/v1/admin/poll-status');
|
||||
if (!response.ok) {
|
||||
console.error('Error checking IMAP status:', response.status);
|
||||
return;
|
||||
}
|
||||
const data = await response.json();
|
||||
|
||||
const statusIcon = document.getElementById('imap-status-icon');
|
||||
|
||||
Reference in New Issue
Block a user