Skip to content

Commit

Permalink
fix: fix redirect redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
Rirusha committed Jul 27, 2024
1 parent 8f571b6 commit 74e83a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/begin/begin-view.vala
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ namespace Cassette {
insert_action_group ("auth", action_group);

webview.load_changed.connect ((event) => {
if (("https://music.yandex.ru/" in webview.uri) && event != LoadEvent.STARTED) {
if (("https://music.yandex." in webview.uri) && event != LoadEvent.STARTED) {
online_complete ();
}

Expand Down Expand Up @@ -108,7 +108,7 @@ namespace Cassette {
start_loading ();

webview.load_uri (
"https://oauth.yandex.ru/authorize?response_type=token&client_id=23cabbbdc6cd418abb4b39c32c41195d&https://music.yandex.ru" // vala-lint=line-length
"https://oauth.yandex.ru/authorize?response_type=token&client_id=23cabbbdc6cd418abb4b39c32c41195d" // vala-lint=line-length
);
}

Expand Down

0 comments on commit 74e83a5

Please sign in to comment.