Fix follows backend URL

And improve "no followers/followings" message position
This commit is contained in:
Chocobozzz 2019-06-20 08:51:15 +02:00
parent 7cf75374ca
commit ac84064a6c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -9,7 +9,7 @@ import { RestExtractor, RestPagination, RestService } from '../rest'
@Injectable() @Injectable()
export class FollowService { 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 ( constructor (
private authHttp: HttpClient, private authHttp: HttpClient,