X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Finstance%2Ffollow.service.ts;h=63f9e2687cd498127530cb4b0818bc306796f8b3;hb=41b15c892192073828458d007256a9dfdf3bb6fb;hp=5a44c64f13967b27e84f699eb235179d72b0bf64;hpb=b6a1dd4d1b3b0032f8b968e72cbd074f646e8827;p=oweals%2Fpeertube.git diff --git a/client/src/app/shared/instance/follow.service.ts b/client/src/app/shared/instance/follow.service.ts index 5a44c64f1..63f9e2687 100644 --- a/client/src/app/shared/instance/follow.service.ts +++ b/client/src/app/shared/instance/follow.service.ts @@ -1,15 +1,15 @@ import { catchError, map } from 'rxjs/operators' import { HttpClient, HttpParams } from '@angular/common/http' import { Injectable } from '@angular/core' -import { SortMeta } from 'primeng/primeng' import { Observable } from 'rxjs' import { ActorFollow, ResultList } from '@shared/index' import { environment } from '../../../environments/environment' import { RestExtractor, RestPagination, RestService } from '../rest' +import { SortMeta } from 'primeng/api' @Injectable() export class FollowService { - private static BASE_APPLICATION_URL = 'https://peertube2.cpy.re' + '/api/v1/server' + private static BASE_APPLICATION_URL = environment.apiUrl + '/api/v1/server' constructor ( private authHttp: HttpClient,