Vite proxy config simplified. Renaming /auth/restricted to have a trailing slash for better Vite compatibility.

This commit is contained in:
Leo Vasanko
2025-12-02 22:41:12 +00:00
parent c83450dace
commit aed48de38e
6 changed files with 16 additions and 50 deletions
+3 -3
View File
@@ -111,7 +111,7 @@
iframe.title = 'Authentication';
document.body.appendChild(iframe);
}
iframe.src = '/auth/restricted?mode=login';
iframe.src = '/auth/restricted/?mode=login';
showStatus('Login mode loaded - for users who are not authenticated', 'info');
}
@@ -123,7 +123,7 @@
iframe.title = 'Authentication';
document.body.appendChild(iframe);
}
iframe.src = '/auth/restricted?mode=reauth';
iframe.src = '/auth/restricted/?mode=reauth';
showStatus('Reauth mode loaded - for additional verification of authenticated users', 'info');
}
@@ -133,7 +133,7 @@
iframe = document.createElement('iframe');
iframe.id = 'auth-iframe';
iframe.title = 'Authentication';
iframe.src = '/auth/restricted';
iframe.src = '/auth/restricted/';
document.body.appendChild(iframe);
iframeInitialized = true;
}