We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c4e456 commit b03d7dcCopy full SHA for b03d7dc
src/onboarding/containers/CloudLoginPage.tsx
@@ -59,8 +59,10 @@ export const CloudLoginPage: FC = () => {
59
fetch('/api/env/quartz-login-url')
60
.then(async response => {
61
const quartzUrl = await response.text()
62
- console.warn('Redirect to cloud url: ', quartzUrl)
63
- window.location.replace(quartzUrl)
+ const pathname = window.location.pathname ?? ''
+ const redirectUrl = quartzUrl + pathname
64
+ console.warn('Redirect to cloud url: ', redirectUrl)
65
+ window.location.replace(redirectUrl)
66
})
67
.catch(error => console.error(error))
68
return null
0 commit comments