Skip to content

Commit

Permalink
fix(auth): please be clear T_T
Browse files Browse the repository at this point in the history
  • Loading branch information
NoCrypt committed Aug 4, 2024
1 parent fa02638 commit 5883ebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/components/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
if (anilistClient.userID?.viewer?.data?.Viewer) {
$logout = true
} else {
IPC.emit('open', 'https://anilist.co/api/v2/oauth/authorize?client_id=20321&response_type=token') // Change redirect_url to migu://auth
IPC.emit('open', 'https://anilist.co/api/v2/oauth/authorize?client_id=20321&response_type=token') // Change redirect_url to migu://auth/
if (platformMap[window.version.platform] === 'Linux') {
toast('Support Notification', {
description: "If your linux distribution doesn't support custom protocol handlers, you can simply paste the full URL into the app.",
Expand Down
2 changes: 1 addition & 1 deletion common/views/Settings/Settings.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
if (anilistClient.userID?.viewer?.data?.Viewer) {
$logout = true
} else {
IPC.emit('open', 'https://anilist.co/api/v2/oauth/authorize?client_id=20321&response_type=token') // Change redirect_url to migu://auth
IPC.emit('open', 'https://anilist.co/api/v2/oauth/authorize?client_id=20321&response_type=token') // Change redirect_url to migu://auth/
if (platformMap[window.version.platform] === 'Linux') {
toast('Support Notification', {
description: "If your linux distribution doesn't support custom protocol handlers, you can simply paste the full URL into the app.",
Expand Down

0 comments on commit 5883ebb

Please sign in to comment.