Client: Fix blacklist url in dev mode
authorChocobozzz <florian.bigard@gmail.com>
Mon, 9 Oct 2017 17:27:19 +0000 (19:27 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Mon, 9 Oct 2017 17:27:19 +0000 (19:27 +0200)
client/src/app/+admin/blacklist/shared/blacklist.service.ts

index 1b090c9c52b0916fe28592a3dbb4b186128fdbd6..ee2bf82e9820cfafafae901e74e997c8e0de098a 100644 (file)
@@ -12,7 +12,7 @@ import { BlacklistedVideo, ResultList } from '../../../../../../shared'
 
 @Injectable()
 export class BlacklistService {
-  private static BASE_BLACKLISTS_URL = '/api/v1/blacklist/'
+  private static BASE_BLACKLISTS_URL = API_URL + '/api/v1/blacklist/'
 
   constructor (
     private authHttp: HttpClient,