]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/core/auth/auth.service.ts
Update webpack stack
[github/Chocobozzz/PeerTube.git] / client / src / app / core / auth / auth.service.ts
index caf765b4268cc283bd59dd8dad05bd7cd5edf376..4c75df1ca4fc46b00cda7d24181e94db8611f288 100644 (file)
@@ -16,9 +16,9 @@ import { RestExtractor } from '../../shared/rest';
 
 @Injectable()
 export class AuthService {
-  private static BASE_CLIENT_URL = '/api/v1/clients/local';
-  private static BASE_TOKEN_URL = '/api/v1/users/token';
-  private static BASE_USER_INFORMATIONS_URL = '/api/v1/users/me';
+  private static BASE_CLIENT_URL = API_URL + '/api/v1/clients/local';
+  private static BASE_TOKEN_URL = API_URL + '/api/v1/users/token';
+  private static BASE_USER_INFORMATIONS_URL = API_URL + '/api/v1/users/me';
 
   loginChangedSource: Observable<AuthStatus>;