Skip to content

Commit 7345889

Browse files
authored
fix: use the explicit quartz login url (#4802)
1 parent 3055e58 commit 7345889

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Signin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
CLOUD,
2727
CLOUD_LOGIN_PATHNAME,
2828
CLOUD_SIGNIN_PATHNAME,
29-
CLOUD_URL,
29+
CLOUD_QUARTZ_URL,
3030
} from 'src/shared/constants'
3131

3232
// Types
@@ -120,7 +120,7 @@ export class Signin extends PureComponent<Props, State> {
120120
process.env.NODE_ENV &&
121121
process.env.NODE_ENV !== 'development'
122122
) {
123-
window.location.href = CLOUD_URL
123+
window.location.href = CLOUD_QUARTZ_URL
124124
return
125125
}
126126

src/shared/constants/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export const CLOUD_SIGNIN_PATHNAME = '/api/v2/signin'
100100
export const CLOUD_SIGNOUT_PATHNAME = '/api/v2/signout'
101101
export const CLOUD_LOGIN_PATHNAME = '/login'
102102
export const CLOUD_URL = formatConstant(process.env.CLOUD_URL)
103+
export const CLOUD_QUARTZ_URL = 'https://cloud2.influxdata.com/login'
103104
export const CLOUD_CHECKOUT_PATH = '/checkout'
104105
export const CLOUD_BILLING_PATH = '/billing'
105106
export const CLOUD_USAGE_PATH = '/usage'

0 commit comments

Comments
 (0)