diff options
Diffstat (limited to 'client/index.html')
-rw-r--r-- | client/index.html | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/client/index.html b/client/index.html index f971b9fdb..4b273aae4 100644 --- a/client/index.html +++ b/client/index.html | |||
@@ -1,34 +1,40 @@ | |||
1 | <html> | 1 | <html> |
2 | <head> | 2 | <head> |
3 | <title>Angular 2 QuickStart</title> | 3 | <title>PeerTube</title> |
4 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 4 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
5 | <link rel="stylesheet" href="/stylesheets/index.css"> | 5 | <link rel="stylesheet" href="/app/stylesheets/index.css"> |
6 | 6 | ||
7 | <!-- 1. Load libraries --> | 7 | <!-- 1. Load libraries --> |
8 | <!-- IE required polyfills, in this exact order --> | 8 | <!-- IE required polyfills, in this exact order --> |
9 | <script src="app/node_modules/es6-shim/es6-shim.min.js"></script> | 9 | <script src="/app/node_modules/es6-shim/es6-shim.min.js"></script> |
10 | <script src="app/node_modules/systemjs/dist/system-polyfills.js"></script> | 10 | <script src="/app/node_modules/systemjs/dist/system-polyfills.js"></script> |
11 | <script src="app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script> | 11 | <script src="/app/node_modules/angular2/es6/dev/src/testing/shims_for_IE.js"></script> |
12 | |||
13 | <script src="/app/node_modules/angular2/bundles/angular2-polyfills.js"></script> | ||
14 | <script src="/app/node_modules/systemjs/dist/system.src.js"></script> | ||
15 | <script src="/app/node_modules/rxjs/bundles/Rx.js"></script> | ||
16 | <script src="/app/node_modules/angular2/bundles/angular2.dev.js"></script> | ||
17 | <script src="/app/node_modules/angular2/bundles/router.dev.js"></script> | ||
18 | <script src="/app/node_modules/angular2/bundles/http.dev.js"></script> | ||
19 | <script src="/app/node_modules/jquery/dist/jquery.js"></script> | ||
20 | <script src="/app/node_modules/jquery.ui.widget/jquery.ui.widget.js"></script> | ||
21 | <script src="/app/node_modules/blueimp-file-upload/js/jquery.fileupload.js"></script> | ||
22 | <script src="/app/node_modules/webtorrent/webtorrent.min.js"></script> | ||
12 | 23 | ||
13 | <script src="app/node_modules/angular2/bundles/angular2-polyfills.js"></script> | ||
14 | <script src="app/node_modules/systemjs/dist/system.src.js"></script> | ||
15 | <script src="app/node_modules/rxjs/bundles/Rx.js"></script> | ||
16 | <script src="app/node_modules/angular2/bundles/angular2.dev.js"></script> | ||
17 | <script src="app/node_modules/angular2/bundles/router.dev.js"></script> | ||
18 | 24 | ||
19 | <!-- 2. Configure SystemJS --> | 25 | <!-- 2. Configure SystemJS --> |
20 | <script> | 26 | <script> |
21 | System.config({ | 27 | System.config({ |
22 | packages: { | 28 | packages: { |
23 | app: { | 29 | '/app': { |
24 | components: { | 30 | components: { |
25 | format: 'register', | 31 | format: 'register', |
26 | defaultExtension: 'js' | 32 | defaultExtension: 'js' |
27 | } | 33 | } |
28 | } | 34 | }, |
29 | } | 35 | } |
30 | }); | 36 | }); |
31 | System.import('app/components/bootstrap') | 37 | System.import('/app/angular/bootstrap') |
32 | .then(null, console.error.bind(console)); | 38 | .then(null, console.error.bind(console)); |
33 | </script> | 39 | </script> |
34 | 40 | ||