fix api endpoint
This commit is contained in:
parent
167587081f
commit
6ad1f91862
1 changed files with 3 additions and 2 deletions
|
@ -16,7 +16,7 @@ let resolve = function(urls) {
|
|||
return new Promise(function(resolve, reject) {
|
||||
let options = {
|
||||
method: "POST",
|
||||
url: "https://api.lbry.tv/api/proxy",
|
||||
url: "https://api.lbry.tv/api/v1/proxy",
|
||||
headers:
|
||||
{
|
||||
"Content-Type": "application/json"
|
||||
|
@ -54,7 +54,7 @@ let getTrending = function() {
|
|||
return new Promise(function(resolve, reject) {
|
||||
let options = {
|
||||
method: "POST",
|
||||
url: "https://api.lbry.tv/api/proxy",
|
||||
url: "https://api.lbry.tv/api/v1/proxy",
|
||||
headers:
|
||||
{
|
||||
"Content-Type": "application/json"
|
||||
|
@ -107,6 +107,7 @@ let getTrending = function() {
|
|||
} else
|
||||
return resolve(daemonResponse.result.items);
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue