Skip to content

Commit 010f118

Browse files
committed
angular/angular-cli#8515 there is a bug in the generated code that make the service worker use an absolute path instead of a relative path as it should
1 parent e57b146 commit 010f118

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

docs/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ <h1 style="color: #df10a1; font-family: Helvetica; margin: 2rem;">
8686
Sorry, but app is not available without javascript
8787
</h1>
8888
</noscript>
89-
<script type="text/javascript" src="runtime.a66f828dca56eeb90e02.js"></script><script type="text/javascript" src="polyfills.2f4a59095805af02bd79.js"></script><script type="text/javascript" src="main.2cdb94d4b3d883eb2d8b.js"></script></body>
89+
<script type="text/javascript" src="runtime.a66f828dca56eeb90e02.js"></script><script type="text/javascript" src="polyfills.2f4a59095805af02bd79.js"></script><script type="text/javascript" src="main.81ea0427a5b92fdafcb2.js"></script></body>
9090

9191
</html>

docs/main.2cdb94d4b3d883eb2d8b.js renamed to docs/main.81ea0427a5b92fdafcb2.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/manifest.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -13,37 +13,37 @@
1313
"type": "image/png"
1414
},
1515
{
16-
"src": "assets/icons/linecons_e00(0)_96.png",
16+
"src": "assets/icons/linecons_e000(0)_96.png",
1717
"sizes": "96x96",
1818
"type": "image/png"
1919
},
2020
{
21-
"src": "assets/icons/linecons_e00(0)_x128.png",
21+
"src": "assets/icons/linecons_e000(0)_x128.png",
2222
"sizes": "128x128",
2323
"type": "image/png"
2424
},
2525
{
26-
"src": "assets/icons/linecons_e00(0)_x144.png",
26+
"src": "assets/icons/linecons_e000(0)_x144.png",
2727
"sizes": "144x144",
2828
"type": "image/png"
2929
},
3030
{
31-
"src": "assets/icons/linecons_e00(0)_x152.png",
31+
"src": "assets/icons/linecons_e000(0)_x152.png",
3232
"sizes": "152x152",
3333
"type": "image/png"
3434
},
3535
{
36-
"src": "assets/icons/linecons_e00(0)_x192.png",
36+
"src": "assets/icons/linecons_e000(0)_x192.png",
3737
"sizes": "192x192",
3838
"type": "image/png"
3939
},
4040
{
41-
"src": "assets/icons/linecons_e00(0)_x384.png",
41+
"src": "assets/icons/linecons_e000(0)_x384.png",
4242
"sizes": "384x384",
4343
"type": "image/png"
4444
},
4545
{
46-
"src": "assets/icons/linecons_e00(0)_x512.png",
46+
"src": "assets/icons/linecons_e000(0)_x512.png",
4747
"sizes": "512x512",
4848
"type": "image/png"
4949
}

docs/ngsw.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"urls": [
1010
"https://seza443.github.io/ng-counter-pwa/favicon.ico",
1111
"https://seza443.github.io/ng-counter-pwa/index.html",
12-
"https://seza443.github.io/ng-counter-pwa/main.2cdb94d4b3d883eb2d8b.js",
12+
"https://seza443.github.io/ng-counter-pwa/main.81ea0427a5b92fdafcb2.js",
1313
"https://seza443.github.io/ng-counter-pwa/polyfills.2f4a59095805af02bd79.js",
1414
"https://seza443.github.io/ng-counter-pwa/runtime.a66f828dca56eeb90e02.js",
1515
"https://seza443.github.io/ng-counter-pwa/styles.34c57ab7888ec1573f9c.css"
@@ -44,8 +44,8 @@
4444
"https://seza443.github.io/ng-counter-pwa/assets/icons/linecons_e000(0)_72.png": "c2060fde00652a923ff5d6173598d6607f83bee8",
4545
"https://seza443.github.io/ng-counter-pwa/assets/icons/linecons_e000(0)_96.png": "9b6abdd99a3d208404aaf9c314630f3bca9921b3",
4646
"https://seza443.github.io/ng-counter-pwa/favicon.ico": "8afba7282315fd5ad31719cf5f0a38548f7ddc84",
47-
"https://seza443.github.io/ng-counter-pwa/index.html": "61bcc479120c948545ed329250ead09dbcceab6d",
48-
"https://seza443.github.io/ng-counter-pwa/main.2cdb94d4b3d883eb2d8b.js": "d3d2b23902b87525baa6573e4e79efa567031857",
47+
"https://seza443.github.io/ng-counter-pwa/index.html": "4d100c9b015f58500e2e28a89e4b80a7bc2af079",
48+
"https://seza443.github.io/ng-counter-pwa/main.81ea0427a5b92fdafcb2.js": "5daad0d21d71bd3bd0d42bd7c99813209fb9c6a1",
4949
"https://seza443.github.io/ng-counter-pwa/polyfills.2f4a59095805af02bd79.js": "8949bb1b1e302dda246f6ed9c2da703270360b1f",
5050
"https://seza443.github.io/ng-counter-pwa/runtime.a66f828dca56eeb90e02.js": "078e320cc6fdaf355836c3b1c52b059cdd33fc7e",
5151
"https://seza443.github.io/ng-counter-pwa/styles.34c57ab7888ec1573f9c.css": "da39a3ee5e6b4b0d3255bfef95601890afd80709"

src/app/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { StartupService } from './startup.service';
1212
],
1313
imports: [
1414
BrowserModule,
15-
ServiceWorkerModule.register('/ngsw-worker.js', { enabled: environment.production })
15+
ServiceWorkerModule.register('./ngsw-worker.js', { enabled: environment.production })
1616
],
1717
providers: [
1818
StartupService,

0 commit comments

Comments
 (0)