From ac84064a6cd21026ed66c53aa830817404c2de3c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 20 Jun 2019 08:51:15 +0200 Subject: [PATCH] Fix follows backend URL And improve "no followers/followings" message position --- .../src/app/+about/about-follows/about-follows.component.scss | 4 ++++ client/src/app/shared/instance/follow.service.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 { width: fit-content; margin-top: 3px; } + +.no-results { + justify-content: flex-start; +} 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' @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, -- 2.41.0