Fix follows backend URL
authorChocobozzz <me@florianbigard.com>
Thu, 20 Jun 2019 06:51:15 +0000 (08:51 +0200)
committerChocobozzz <me@florianbigard.com>
Thu, 20 Jun 2019 06:51:41 +0000 (08:51 +0200)
And improve "no followers/followings" message position

client/src/app/+about/about-follows/about-follows.component.scss
client/src/app/shared/instance/follow.service.ts

index e0d597a96b70ceba4629832dbc09723060aeca78..c6114d270a381f6aa60c9f153b80fff4bb55de61 100644 (file)
@@ -12,3 +12,7 @@ a {
   width: fit-content;
   margin-top: 3px;
 }
+
+.no-results {
+  justify-content: flex-start;
+}
index 5a44c64f13967b27e84f699eb235179d72b0bf64..978d60f6b93c621dd1416e96f808d0f65e99a119 100644 (file)
@@ -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,