Skip to content

Commit

Permalink
Change bitpay api to api.bitcoin.com
Browse files Browse the repository at this point in the history
  • Loading branch information
salemkode authored Oct 14, 2023
1 parent 634aed1 commit d7def26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const websiteStore = defineStore({
try {
if (!process.browser) return;
let respons = await axios.get(
"https://bitpay.com/api/rates/" + this.crypto.codeCoin
"https://markets.api.bitcoin.com/rates?c=" + this.crypto.codeCoin
);
this.currencyRates = respons.data;
this.setPrice();
Expand Down

0 comments on commit d7def26

Please sign in to comment.