Skip to content

Commit

Permalink
Merge pull request #3 from hackbansu/master
Browse files Browse the repository at this point in the history
updated the app to work with the new jiosaavn.com.
  • Loading branch information
arkokoley authored Dec 12, 2018
2 parents 92a6f5a + ef95516 commit a280598
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
}
});

saavn.window.loadURL('https://www.saavn.com', {
saavn.window.loadURL('https://www.jiosaavn.com', {
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.52 Safari/537.36'
});

Expand Down Expand Up @@ -233,7 +233,7 @@
e.preventDefault()

// Opening saavn urls
if (url.replace('https://', '').replace('http://', '').indexOf('www.saavn.com') == 0)
if (url.replace('https://', '').replace('http://', '').indexOf('www.jiosaavn.com') == 0)
saavn.window.loadURL(url)
else
// Open External URLs in the default web browser
Expand Down

0 comments on commit a280598

Please sign in to comment.