Skip to content

Commit 74293d9

Browse files
haxTechQuery
andauthored
Update end point to use tc39 official site (#7)
Co-authored-by: TechQuery <[email protected]>
1 parent ca91ab9 commit 74293d9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

source/model/Member.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ export class MemberModel {
2222
async getList() {
2323
this.loading = true;
2424

25-
const { body } = await service.get<Member[]>('dataset/members-jscig.json');
26-
25+
const { body } = await service.get<Member[]>(
26+
'https://jscig.github.io/dataset/members-jscig.json',
27+
);
2728
this.loading = false;
2829

2930
return (this.list = body);

source/model/service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HTTPClient } from 'koajax';
22

33
export const service = new HTTPClient({
4-
baseURI: 'https://jscig.github.io/',
4+
baseURI: 'https://tc39.es/',
55
responseType: 'json'
66
});

0 commit comments

Comments
 (0)