mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Move to angular cli
This commit is contained in:
parent
908f6e5e38
commit
63c4db6d71
74 changed files with 1028 additions and 1712 deletions
|
@ -2,13 +2,13 @@ import { HttpClient } from '@angular/common/http'
|
|||
import { Injectable } from '@angular/core'
|
||||
import 'rxjs/add/operator/do'
|
||||
import { ReplaySubject } from 'rxjs/ReplaySubject'
|
||||
|
||||
import { ServerConfig } from '../../../../../shared'
|
||||
import { environment } from '../../../environments/environment'
|
||||
|
||||
@Injectable()
|
||||
export class ServerService {
|
||||
private static BASE_CONFIG_URL = API_URL + '/api/v1/config/'
|
||||
private static BASE_VIDEO_URL = API_URL + '/api/v1/videos/'
|
||||
private static BASE_CONFIG_URL = environment.apiUrl + '/api/v1/config/'
|
||||
private static BASE_VIDEO_URL = environment.apiUrl + '/api/v1/videos/'
|
||||
|
||||
videoPrivaciesLoaded = new ReplaySubject<boolean>(1)
|
||||
videoCategoriesLoaded = new ReplaySubject<boolean>(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue