Update client dependencies
[oweals/peertube.git] / client / src / app / shared / instance / follow.service.ts
index 5a44c64f13967b27e84f699eb235179d72b0bf64..63f9e2687cd498127530cb4b0818bc306796f8b3 100644 (file)
@@ -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,