Skip to content

Commit faf77d3

Browse files
committed
fix: callback url
1 parent 27bf06c commit faf77d3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/SettingsView/Components/License.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ async function getLicenseInfo(checkSponsor: boolean = false) {
306306
return
307307
}
308308
309-
if (response.error) {
309+
if (checkSponsor && response.error) {
310310
error.value = response.error
311311
loading.value = false
312312
return
@@ -375,8 +375,8 @@ async function loginWithGitHub() {
375375
376376
const clientId = 'Ov23li5bsrEqMmqdT10i'
377377
const publicKey = settings.public_key
378-
const redirectUri = 'http://localhost:1957/auth/github/callback'
379-
// const redirectUri = 'https://cloud.swingmx.com/auth/github/callback'
378+
// const redirectUri = 'http://localhost:1957/auth/github/callback'
379+
const redirectUri = 'https://cloud.swingmx.com/auth/github/callback'
380380
const githubUrl = `https://github.com/login/oauth/authorize`
381381
382382
const queryParams = new URLSearchParams({

0 commit comments

Comments
 (0)