File tree Expand file tree Collapse file tree
src/providers/coinmarketcap Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22 "name" : " CryptoWallet" ,
33 "app_id" : " 1bbfbbf6" ,
44 "type" : " ionic-angular" ,
5- "proxies" : [],
5+ "proxies" : [
6+ {
7+ "path" : " /coinmarketcapticker" ,
8+ "proxyUrl" : " https://api.coinmarketcap.com/v1/ticker/"
9+ },
10+ {
11+ "path" : " /coinmarketcapgraphs" ,
12+ "proxyUrl" : " https://graphs2.coinmarketcap.com/currencies/"
13+ }
14+ ],
615 "integrations" : {
716 "cordova" : {
817 }
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ import { CoinMarketCapGraphsResponse } from '../../responses/coinmarketcapgraphs
99@Injectable ( )
1010export class CoinMarketCapProvider {
1111
12- private readonly getPricePath : string = "https://api.coinmarketcap.com/v1/ticker /RESOURCE_URL/" ;
13- private readonly allPricesPath : string = "https://graphs2.coinmarketcap.com/currencies /RESOURCE_URL/" ;
14- private readonly allPricesBetweenPath : string = "https://graphs2.coinmarketcap.com/currencies /RESOURCE_URL/START_DATE/END_DATE/" ;
12+ private readonly getPricePath : string = "coinmarketcapticker /RESOURCE_URL/" ;
13+ private readonly allPricesPath : string = "coinmarketcapgraphs /RESOURCE_URL/" ;
14+ private readonly allPricesBetweenPath : string = "coinmarketcapgraphs /RESOURCE_URL/START_DATE/END_DATE/" ;
1515
1616 constructor ( private http : HttpClient ) { }
1717
You can’t perform that action at this time.
0 commit comments