Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix angular pipes

Chocobozzz17c912d9b111
diff --git a/client/angular/videos/components/watch/videos-watch.component.ts b/client/angular/videos/components/watch/videos-watch.component.ts
index 52c31fe325..b996ad882a 100644
--- a/client/angular/videos/components/watch/videos-watch.component.ts
+++ b/client/angular/videos/components/watch/videos-watch.component.ts
@@ -1,6 +1,6 @@
import { Component, OnInit, ElementRef } from 'angular2/core';
import { RouteParams, CanDeactivate, ComponentInstruction } from 'angular2/router';
-import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe';
+import { BytesPipe } from 'angular-pipes/math';
// TODO import it with systemjs
declare var WebTorrent: any;
diff --git a/client/index.html b/client/index.html
index 6a2085ca68..49a448c2c3 100644
--- a/client/index.html
+++ b/client/index.html
@@ -34,7 +34,7 @@
}
},
map: {
- 'angular-pipes/src/math/bytes.pipe': '/app/node_modules/angular-pipes/src/math/bytes.pipe.js'
+ 'angular-pipes/math': '/app/node_modules/angular-pipes/math.js'
}
});
System.import('/app/angular/bootstrap')