Commit 739374cd authored by nanahira's avatar nanahira

also use sapi

parent 0b34f0d3
......@@ -14,7 +14,7 @@ export class ArenaTableComponent implements OnInit {
async ngOnInit() {
this.listOfData = await this.http
.get<ArenaDeck[]>('https://api.mycard.moe/ygopro/analytics/deck/type', {
.get<ArenaDeck[]>('https://sapi.moecube.com:444/ygopro/analytics/deck/type', {
params: {
type: 'day',
source: 'mycard-athletic'
......
......@@ -61,7 +61,7 @@ export class LayoutComponent implements OnInit {
} else {
this.latest_current = await this.latest_win32.toPromise();
}
this.matchCount = await this.http.get<HomePageMatchCountDto>('https://api.mycard.moe/ygopro/arena/homepageCount', {
this.matchCount = await this.http.get<HomePageMatchCountDto>('https://sapi.moecube.com:444/ygopro/arena/homepageCount', {
responseType: 'json'
}).toPromise();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment