|
5 | 5 | <title><%= jsComponentName %></title>
|
6 | 6 | <base href="/">
|
7 | 7 |
|
8 |
| - {{#unless environment.production}} |
9 |
| - <script src="/ember-cli-live-reload.js" type="text/javascript"></script> |
10 |
| - {{/unless}} |
11 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1">
|
12 | 9 | <link rel="icon" type="image/x-icon" href="favicon.ico"><% if (isMobile) { %>
|
13 | 10 | <meta name="apple-mobile-web-app-capable" content="yes">
|
14 | 11 | <meta name="theme-color" content="#000000">
|
15 | 12 | <link rel="manifest" href="/manifest.webapp">
|
16 |
| - {{#each mobile.icons}} |
17 |
| - <link rel="{{rel}}" {{#if sizes}}sizes="{{sizes}}" {{/if}}href="{{href}}"> |
18 |
| - {{/each}} |
19 |
| - |
20 |
| - {{#if environment.production}} |
21 |
| - <script type="text/javascript"> |
22 |
| - if ('serviceWorker' in navigator) { |
23 |
| - navigator.serviceWorker.register('/worker.js').catch(function(err) { |
24 |
| - console.log('Error installing service worker: ', err); |
25 |
| - }); |
26 |
| - } |
27 |
| - </script> |
28 |
| - {{/if}} |
| 13 | + <link rel="apple-touch-icon" href="/icons/apple-touch-icon.png"> |
| 14 | + <link rel="apple-touch-icon" sizes="57x57" href="/icons/apple-touch-icon-57x57.png"> |
| 15 | + <link rel="apple-touch-icon" sizes="60x60" href="/icons/apple-touch-icon-60x60.png"> |
| 16 | + <link rel="apple-touch-icon" sizes="72x72" href="/icons/apple-touch-icon-72x72.png"> |
| 17 | + <link rel="apple-touch-icon" sizes="76x76" href="/icons/apple-touch-icon-76x76.png"> |
| 18 | + <link rel="apple-touch-icon" sizes="114x114" href="/icons/apple-touch-icon-114x114.png"> |
| 19 | + <link rel="apple-touch-icon" sizes="120x120" href="/icons/apple-touch-icon-120x120.png"> |
| 20 | + <link rel="apple-touch-icon" sizes="144x144" href="/icons/apple-touch-icon-144x144.png"> |
| 21 | + <link rel="apple-touch-icon" sizes="152x152" href="/icons/apple-touch-icon-152x152.png"> |
| 22 | + <link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon-180x180.png"> |
| 23 | + <link rel="apple-touch-startup-image" href="/icons/apple-touch-icon-180x180.png"> |
29 | 24 | <% } %>
|
| 25 | + |
30 | 26 | </head>
|
31 | 27 | <body>
|
32 | 28 | <<%= prefix %>-root>Loading...</<%= prefix %>-root>
|
33 |
| - <% if (isMobile) { %> |
34 |
| - {{#if environment.production}} |
35 |
| - <script src="/app-concat.js" async></script> |
36 |
| - {{else}} |
37 |
| - {{#each scripts.polyfills}} |
38 |
| - <script src="{{.}}"></script> |
39 |
| - {{/each}} |
40 |
| - <script> |
41 |
| - System.import('system-config.js').then(function () { |
42 |
| - System.import('main'); |
43 |
| - }).catch(console.error.bind(console)); |
44 |
| - </script> |
45 |
| - {{/if}} |
46 |
| - <% } else { %> |
47 |
| - {{#each scripts.polyfills}} |
48 |
| - <script src="{{.}}"></script> |
49 |
| - {{/each}} |
50 |
| - <script> |
51 |
| - System.import('system-config.js').then(function () { |
52 |
| - System.import('main'); |
53 |
| - }).catch(console.error.bind(console)); |
54 |
| - </script> |
55 |
| - <% } %> |
56 | 29 | </body>
|
57 | 30 | </html>
|
0 commit comments