Change API Urls to include https

This commit is contained in:
Kristian Polso 2018-06-05 10:19:42 +03:00
parent 073b561542
commit 33ebaed2bf
3 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@ export default {
var component = this;
component.$http.get('//beta.lbry.tech/github-feed').then(function(response) {
component.$http.get('https://beta.lbry.tech/github-feed').then(function(response) {
component.events = response.body;
});

View file

@ -100,7 +100,7 @@ export default {
component.jsonData = '';
component.isLoading = true;
component.exampleCode = '# Example code using the daemon\ncurl \'http://localhost:5279\' --data \'{"method":"resolve","params":{"uri":"' + this.address + '"}}\'';
this.$http.get('//beta.lbry.tech/forward?method=resolve&uri=' + this.address).then(function(response) {
this.$http.get('https://betalbry.tech/forward?method=resolve&uri=' + this.address).then(function(response) {
component.isLoading = false;
component.jsonData = JSON.stringify(response.body, null, ' ');
});

View file

@ -102,7 +102,7 @@ export default {
component.jsonData = '';
component.isLoading = true;
component.exampleCode = '# Example code using the daemon\ncurl \'http://localhost:5279\' --data \'{"method":"wallet_send","params":{"claim_id":"' + this.address + '","amount":' + this.amount + '}}\'';
this.$http.get('//beta.lbry.tech/forward?method=wallet_send&claim_id=' + this.address + '&amount=' + this.amount).then(function(response) {
this.$http.get('https://beta.lbry.tech/forward?method=wallet_send&claim_id=' + this.address + '&amount=' + this.amount).then(function(response) {
component.isLoading = false;
component.jsonData = JSON.stringify(response.body, null, ' ');
});