Browse Source

Fix follows backend URL

And improve "no followers/followings" message position
Chocobozzz 4 years ago
parent
commit
ac84064a6c

+ 4 - 0
client/src/app/+about/about-follows/about-follows.component.scss

@@ -12,3 +12,7 @@ a {
   width: fit-content;
   margin-top: 3px;
 }
+
+.no-results {
+  justify-content: flex-start;
+}

+ 1 - 1
client/src/app/shared/instance/follow.service.ts

@@ -9,7 +9,7 @@ import { RestExtractor, RestPagination, RestService } from '../rest'
 
 @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,