diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-20 08:51:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-20 08:51:41 +0200 |
commit | ac84064a6cd21026ed66c53aa830817404c2de3c (patch) | |
tree | 66b5cdf3b4c287bbadc78345d876bdf90c0e88ed | |
parent | 7cf75374caab55413646a64b8605c46a6d4abffd (diff) | |
download | PeerTube-ac84064a6cd21026ed66c53aa830817404c2de3c.tar.gz PeerTube-ac84064a6cd21026ed66c53aa830817404c2de3c.tar.zst PeerTube-ac84064a6cd21026ed66c53aa830817404c2de3c.zip |
Fix follows backend URL
And improve "no followers/followings" message position
-rw-r--r-- | client/src/app/+about/about-follows/about-follows.component.scss | 4 | ||||
-rw-r--r-- | client/src/app/shared/instance/follow.service.ts | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/+about/about-follows/about-follows.component.scss b/client/src/app/+about/about-follows/about-follows.component.scss index e0d597a96..c6114d270 100644 --- a/client/src/app/+about/about-follows/about-follows.component.scss +++ b/client/src/app/+about/about-follows/about-follows.component.scss | |||
@@ -12,3 +12,7 @@ a { | |||
12 | width: fit-content; | 12 | width: fit-content; |
13 | margin-top: 3px; | 13 | margin-top: 3px; |
14 | } | 14 | } |
15 | |||
16 | .no-results { | ||
17 | justify-content: flex-start; | ||
18 | } | ||
diff --git a/client/src/app/shared/instance/follow.service.ts b/client/src/app/shared/instance/follow.service.ts index 5a44c64f1..978d60f6b 100644 --- a/client/src/app/shared/instance/follow.service.ts +++ b/client/src/app/shared/instance/follow.service.ts | |||
@@ -9,7 +9,7 @@ import { RestExtractor, RestPagination, RestService } from '../rest' | |||
9 | 9 | ||
10 | @Injectable() | 10 | @Injectable() |
11 | export class FollowService { | 11 | export class FollowService { |
12 | private static BASE_APPLICATION_URL = 'https://peertube2.cpy.re' + '/api/v1/server' | 12 | private static BASE_APPLICATION_URL = environment.apiUrl + '/api/v1/server' |
13 | 13 | ||
14 | constructor ( | 14 | constructor ( |
15 | private authHttp: HttpClient, | 15 | private authHttp: HttpClient, |