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
+1 -1
View File
@@ -57,7 +57,7 @@ function showAuthIframe() {
authIframe = document.createElement('iframe')
authIframe.id = 'auth-iframe'
authIframe.title = 'Authentication'
authIframe.src = '/auth/restricted?mode=login'
authIframe.src = '/auth/restricted/?mode=login'
document.body.appendChild(authIframe)
loadingMessage.value = 'Authentication required...'
}
+1 -1
View File
@@ -330,7 +330,7 @@ function showAuthIframe() {
authIframe = document.createElement('iframe')
authIframe.id = 'auth-iframe'
authIframe.title = 'Authentication'
authIframe.src = '/auth/restricted?mode=login'
authIframe.src = '/auth/restricted/?mode=login'
document.body.appendChild(authIframe)
loadingMessage.value = 'Authentication required...'
}