Vite proxy config simplified. Renaming /auth/restricted to have a trailing slash for better Vite compatibility.
This commit is contained in:
@@ -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...'
|
||||
}
|
||||
|
||||
@@ -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...'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user