Skip to content

Commit

Permalink
feat: switch server url
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed May 28, 2022
1 parent 472f17a commit 29753a4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export class ExtensionService {
this.updateExtensionIDs();
}
public async requestList() {
return await lastValueFrom(this.http.get('http://106.12.149.147:3333/list'));
return await lastValueFrom(this.http.get('http://market.eoapi.io/list'));
}
async getDetail(id,name): Promise<any> {
async getDetail(id, name): Promise<any> {
let result = {};
if (this.localModules.has(id)) {
Object.assign(result, this.localModules.get(id), { installed: true });
Expand Down Expand Up @@ -55,7 +55,7 @@ export class ExtensionService {
return false;
}
private async requestDetail(id) {
return await lastValueFrom(this.http.get(`http://106.12.149.147:3333/detail/${id}`));
return await lastValueFrom(this.http.get(`http://market.eoapi.io/detail/${id}`));
}
private updateExtensionIDs() {
this.extensionIDs = Array.from(this.localModules.keys())
Expand Down

0 comments on commit 29753a4

Please sign in to comment.