Fix frontend login flow: merge v3 auth routes, fix vite proxy, SPA redirect
This commit is contained in:
@@ -108,6 +108,10 @@ initializeChatwootEvents();
|
||||
initializeAnalyticsEvents();
|
||||
initalizeRouter();
|
||||
|
||||
window.onload = () => {
|
||||
if (document.readyState === 'complete') {
|
||||
app.mount('#app');
|
||||
};
|
||||
} else {
|
||||
window.onload = () => {
|
||||
app.mount('#app');
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user