Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e5bb45d

Browse files
iccwc -> cricket
1 parent 46dc57e commit e5bb45d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/cbLoginSignup/Component.svelte‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,27 +99,27 @@
9999
'online': 'https://online-api.codingblocks.com/api/v2/jwt/otp/email',
100100
'hire': 'https://hire-api.codingblocks.com/login/otp/email',
101101
'codeskiller': 'https://code-gym-api.codingblocks.com/api/jwt/otp',
102-
'iccwc': 'https://iccwc.codingblocks.com/api/jwt/otp'
102+
'cricket': 'https://cricket.codingblocks.com/api/jwt/otp'
103103
},
104104
sendOtpMobile: {
105105
'hack': 'https://hack-api.codingblocks.com/api/v2/jwt/otp',
106106
'online': 'https://online-api.codingblocks.com/api/v2/jwt/otp/mobile',
107107
'hire': 'https://hire-api.codingblocks.com/login/otp/mobile',
108108
'codeskiller': 'https://code-gym-api.codingblocks.com/api/jwt/otp',
109-
'iccwc': 'https://iccwc.codingblocks.com/api/jwt/otp'
109+
'cricket': 'https://cricket.codingblocks.com/api/jwt/otp'
110110
},
111111
verifyOtpEmail: {
112112
'hack': 'https://hack-api.codingblocks.com/api/v2/jwt/otp/verify',
113113
'online': 'https://online-api.codingblocks.com/api/v2/jwt/otp/email/verify',
114114
'hire': 'https://hire-api.codingblocks.com/login/otp/email/verify',
115115
'codeskiller': 'https://code-gym-api.codingblocks.com/api/jwt/otp/verify',
116-
'iccwc': 'https://iccwc.codingblocks.com/api/jwt/otp/verify'
116+
'cricket': 'https://cricket.codingblocks.com/api/jwt/otp/verify'
117117
},
118118
verifyOtpMobile: {
119119
'hack': 'https://hack-api.codingblocks.com/api/v2/jwt/otp/verify',
120120
'online': 'https://online-api.codingblocks.com/api/v2/jwt/otp/mobile/verify',
121121
'hire': 'https://hire-api.codingblocks.com/login/otp/mobile/verify',
122-
'iccwc': 'https://iccwc.codingblocks.com/api/jwt/otp/verify'
122+
'cricket': 'https://cricket.codingblocks.com/api/jwt/otp/verify'
123123
}
124124
}
125125
@@ -130,8 +130,8 @@
130130
let errorMessage = null
131131
let loginFlow = 'email'
132132
let showLoginPrompt = localStorage.getItem('cb_login_prompt') === 'true' ? true : false
133-
let googleLoginUrl = appSubdomain.includes('localhost') ? `http://localhost:3838/login/google/v2?redirect_uri=http://${appSubdomain}${pathname}&client=localhost&client_id=1234567890` : isStaging ? `https://account.codingblocks.xyz/login/google/v2?redirect_uri=https://${appSubdomain}.codingblocks.xyz${pathname}&client=${appSubdomain}-codingblocks&client_id=1` : `https://account.codingblocks.com/login/google/v2?redirect_uri=https://${appSubdomain}.codingblocks.com${pathname}&client=${appSubdomain === 'iccwc' ? 'cricket-quiz-iccwc23' : appSubdomain}-codingblocks&client_id=${clientIdMap[appSubdomain]}`
134-
let facebookLoginUrl = appSubdomain.includes('localhost') ? `http://localhost:3838/login/facebook/v2?redirect_uri=http://${appSubdomain}${pathname}&client=localhost&client_id=1234567890` : isStaging ? `https://account.codingblocks.xyz/login/facebook/v2?redirect_uri=https://${appSubdomain}.codingblocks.xyz${pathname}&client=${appSubdomain}-codingblocks&client_id=1` : `https://account.codingblocks.com/login/facebook/v2?redirect_uri=https://${appSubdomain}.codingblocks.com${pathname}&client=${appSubdomain === 'iccwc' ? 'cricket-quiz-iccwc23': appSubdomain}-codingblocks&client_id=${clientIdMap[appSubdomain]}`
133+
let googleLoginUrl = appSubdomain.includes('localhost') ? `http://localhost:3838/login/google/v2?redirect_uri=http://${appSubdomain}${pathname}&client=localhost&client_id=1234567890` : isStaging ? `https://account.codingblocks.xyz/login/google/v2?redirect_uri=https://${appSubdomain}.codingblocks.xyz${pathname}&client=${appSubdomain}-codingblocks&client_id=1` : `https://account.codingblocks.com/login/google/v2?redirect_uri=https://${appSubdomain}.codingblocks.com${pathname}&client=${appSubdomain === 'cricket' ? 'cricket-quiz-iccwc23' : appSubdomain}-codingblocks&client_id=${clientIdMap[appSubdomain]}`
134+
let facebookLoginUrl = appSubdomain.includes('localhost') ? `http://localhost:3838/login/facebook/v2?redirect_uri=http://${appSubdomain}${pathname}&client=localhost&client_id=1234567890` : isStaging ? `https://account.codingblocks.xyz/login/facebook/v2?redirect_uri=https://${appSubdomain}.codingblocks.xyz${pathname}&client=${appSubdomain}-codingblocks&client_id=1` : `https://account.codingblocks.com/login/facebook/v2?redirect_uri=https://${appSubdomain}.codingblocks.com${pathname}&client=${appSubdomain === 'cricket' ? 'cricket-quiz-iccwc23': appSubdomain}-codingblocks&client_id=${clientIdMap[appSubdomain]}`
135135
136136
async function sendOtp() {
137137
errorMessage = null

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /