Skip to content

Commit fe9154f

Browse files
committed
add href and script to build for gh-pages
1 parent aa1b0e1 commit fe9154f

File tree

3 files changed

+35
-35
lines changed

3 files changed

+35
-35
lines changed

docs/index.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@
44
<head>
55
<meta charset="utf-8">
66
<title>CounterappPwa</title>
7-
<base href="/">
8-
7+
<base href="'https://seza443.github.io/ng-counter-pwa/'">
98
<meta name="viewport" content="width=device-width, initial-scale=1">
10-
<link rel="icon" type="image/x-icon" href="./favicon.ico">
11-
<link rel="manifest" href="./manifest.json">
9+
<link rel="icon" type="image/x-icon" href="favicon.ico">
10+
<link rel="manifest" href="manifest.json">
1211
<meta name="theme-color" content="#1976d2">
13-
<link rel="stylesheet" href="./styles.34c57ab7888ec1573f9c.css"></head>
12+
<link rel="stylesheet" href="styles.34c57ab7888ec1573f9c.css"></head>
1413

1514
<body style="width: 100%; height: 100%; margin: 0;">
1615
<app-root style="width: 100%; height: 100%;">
@@ -87,6 +86,6 @@ <h1 style="color: #df10a1; font-family: Helvetica; margin: 2rem;">
8786
Sorry, but app is not available without javascript
8887
</h1>
8988
</noscript>
90-
<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.2cdb94d4b3d883eb2d8b.js"></script></body>
9190

9291
</html>

docs/ngsw.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"configVersion": 1,
3-
"index": "/index.html",
3+
"index": "'https://seza443.github.io/ng-counter-pwa/'/index.html",
44
"assetGroups": [
55
{
66
"name": "app",
77
"installMode": "prefetch",
88
"updateMode": "prefetch",
99
"urls": [
10-
"/favicon.ico",
11-
"/index.html",
12-
"/main.2cdb94d4b3d883eb2d8b.js",
13-
"/polyfills.2f4a59095805af02bd79.js",
14-
"/runtime.a66f828dca56eeb90e02.js",
15-
"/styles.34c57ab7888ec1573f9c.css"
10+
"'https://seza443.github.io/ng-counter-pwa/'/favicon.ico",
11+
"'https://seza443.github.io/ng-counter-pwa/'/index.html",
12+
"'https://seza443.github.io/ng-counter-pwa/'/main.2cdb94d4b3d883eb2d8b.js",
13+
"'https://seza443.github.io/ng-counter-pwa/'/polyfills.2f4a59095805af02bd79.js",
14+
"'https://seza443.github.io/ng-counter-pwa/'/runtime.a66f828dca56eeb90e02.js",
15+
"'https://seza443.github.io/ng-counter-pwa/'/styles.34c57ab7888ec1573f9c.css"
1616
],
1717
"patterns": []
1818
},
@@ -21,34 +21,34 @@
2121
"installMode": "lazy",
2222
"updateMode": "prefetch",
2323
"urls": [
24-
"/assets/icons/linecons_e000(0)_128.png",
25-
"/assets/icons/linecons_e000(0)_144.png",
26-
"/assets/icons/linecons_e000(0)_152.png",
27-
"/assets/icons/linecons_e000(0)_192.png",
28-
"/assets/icons/linecons_e000(0)_384.png",
29-
"/assets/icons/linecons_e000(0)_512.png",
30-
"/assets/icons/linecons_e000(0)_72.png",
31-
"/assets/icons/linecons_e000(0)_96.png"
24+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_128.png",
25+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_144.png",
26+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_152.png",
27+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_192.png",
28+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_384.png",
29+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_512.png",
30+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_72.png",
31+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_96.png"
3232
],
3333
"patterns": []
3434
}
3535
],
3636
"dataGroups": [],
3737
"hashTable": {
38-
"/assets/icons/linecons_e000(0)_128.png": "fd255e7cf4dbee8891d16a8f4eac8399f4551e6c",
39-
"/assets/icons/linecons_e000(0)_144.png": "d35eef82f0f046ce562b31c8ef301f02eaf26025",
40-
"/assets/icons/linecons_e000(0)_152.png": "7bafc6ac2275ce51268303270836073049070d5e",
41-
"/assets/icons/linecons_e000(0)_192.png": "1fc9f64ecca51003f6b9b3e9d28cfce8531a7930",
42-
"/assets/icons/linecons_e000(0)_384.png": "c4064f6e825cbf6372d213756284df8ff962b5ce",
43-
"/assets/icons/linecons_e000(0)_512.png": "013384a8ef2590185ab080645c33e551c3679989",
44-
"/assets/icons/linecons_e000(0)_72.png": "c2060fde00652a923ff5d6173598d6607f83bee8",
45-
"/assets/icons/linecons_e000(0)_96.png": "9b6abdd99a3d208404aaf9c314630f3bca9921b3",
46-
"/favicon.ico": "8afba7282315fd5ad31719cf5f0a38548f7ddc84",
47-
"/index.html": "e901c66a2f01b9ec174877b6318a258cee6a8b83",
48-
"/main.2cdb94d4b3d883eb2d8b.js": "d3d2b23902b87525baa6573e4e79efa567031857",
49-
"/polyfills.2f4a59095805af02bd79.js": "8949bb1b1e302dda246f6ed9c2da703270360b1f",
50-
"/runtime.a66f828dca56eeb90e02.js": "078e320cc6fdaf355836c3b1c52b059cdd33fc7e",
51-
"/styles.34c57ab7888ec1573f9c.css": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
38+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_128.png": "fd255e7cf4dbee8891d16a8f4eac8399f4551e6c",
39+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_144.png": "d35eef82f0f046ce562b31c8ef301f02eaf26025",
40+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_152.png": "7bafc6ac2275ce51268303270836073049070d5e",
41+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_192.png": "1fc9f64ecca51003f6b9b3e9d28cfce8531a7930",
42+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_384.png": "c4064f6e825cbf6372d213756284df8ff962b5ce",
43+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_512.png": "013384a8ef2590185ab080645c33e551c3679989",
44+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_72.png": "c2060fde00652a923ff5d6173598d6607f83bee8",
45+
"'https://seza443.github.io/ng-counter-pwa/'/assets/icons/linecons_e000(0)_96.png": "9b6abdd99a3d208404aaf9c314630f3bca9921b3",
46+
"'https://seza443.github.io/ng-counter-pwa/'/favicon.ico": "8afba7282315fd5ad31719cf5f0a38548f7ddc84",
47+
"'https://seza443.github.io/ng-counter-pwa/'/index.html": "3ce25caeeba35e3f6a41dbfd73e21b236f2d1ca0",
48+
"'https://seza443.github.io/ng-counter-pwa/'/main.2cdb94d4b3d883eb2d8b.js": "d3d2b23902b87525baa6573e4e79efa567031857",
49+
"'https://seza443.github.io/ng-counter-pwa/'/polyfills.2f4a59095805af02bd79.js": "8949bb1b1e302dda246f6ed9c2da703270360b1f",
50+
"'https://seza443.github.io/ng-counter-pwa/'/runtime.a66f828dca56eeb90e02.js": "078e320cc6fdaf355836c3b1c52b059cdd33fc7e",
51+
"'https://seza443.github.io/ng-counter-pwa/'/styles.34c57ab7888ec1573f9c.css": "da39a3ee5e6b4b0d3255bfef95601890afd80709"
5252
},
5353
"navigationUrls": [
5454
{

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"build": "ng build",
8+
"build-gh-pages": "ng build --prod --base-href 'https://seza443.github.io/ng-counter-pwa/' && rm -rf docs && cp -r dist/counterapp-pwa docs",
89
"test": "ng test",
910
"lint": "ng lint",
1011
"e2e": "ng e2e",

0 commit comments

Comments
 (0)