[enterprise] fix api endpoints urls

This commit is contained in:
nymkappa 2023-11-20 19:12:56 +09:00
parent 98443b48ba
commit deaf6ad6a5
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
<a class="navbar-brand" [ngClass]="{'dual-logos': subdomain}" [routerLink]="['/' | relativeUrl]" (click)="brandClick($event)"> <a class="navbar-brand" [ngClass]="{'dual-logos': subdomain}" [routerLink]="['/' | relativeUrl]" (click)="brandClick($event)">
<ng-template [ngIf]="subdomain"> <ng-template [ngIf]="subdomain">
<div class="subdomain_container"> <div class="subdomain_container">
<img [src]="'/api/v1/enterprise/images/' + subdomain + '/logo'" class="subdomain_logo"> <img [src]="'/api/v1/services/enterprise/images/' + subdomain + '/logo'" class="subdomain_logo">
</div> </div>
</ng-template> </ng-template>
<ng-container *ngIf="{ val: connectionState$ | async } as connectionState"> <ng-container *ngIf="{ val: connectionState$ | async } as connectionState">

View File

@ -311,7 +311,7 @@ export class ApiService {
} }
getEnterpriseInfo$(name: string): Observable<any> { getEnterpriseInfo$(name: string): Observable<any> {
return this.httpClient.get<any>(this.apiBaseUrl + this.apiBasePath + `/api/v1/enterprise/info/` + name); return this.httpClient.get<any>(this.apiBaseUrl + this.apiBasePath + `/api/v1/services/enterprise/info/` + name);
} }
getChannelByTxIds$(txIds: string[]): Observable<any[]> { getChannelByTxIds$(txIds: string[]): Observable<any[]> {