Skip to content

Commit 3498658

Browse files
committed
Fixed demo gh-pages links
1 parent 20acc85 commit 3498658

10 files changed

+112
-100
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"scripts": {
1313
"start": "react-scripts start",
14-
"build": "react-scripts build && rm -rf ../docs && mv build ../docs",
14+
"build": "PUBLIC_URL=https://manojvivek.github.io/react-prefetcher react-scripts build && rm -rf ../docs && mv build ../docs",
1515
"test": "react-scripts test",
1616
"eject": "react-scripts eject"
1717
},

docs/asset-manifest.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"files": {
3-
"main.css": "/react-prefetcher/static/css/main.0f84021f.chunk.css",
4-
"main.js": "/react-prefetcher/static/js/main.c19cf8e1.chunk.js",
5-
"main.js.map": "/react-prefetcher/static/js/main.c19cf8e1.chunk.js.map",
6-
"runtime~main.js": "/react-prefetcher/static/js/runtime~main.d090f32f.js",
7-
"runtime~main.js.map": "/react-prefetcher/static/js/runtime~main.d090f32f.js.map",
8-
"static/js/2.dcc8df9a.chunk.js": "/react-prefetcher/static/js/2.dcc8df9a.chunk.js",
9-
"static/js/2.dcc8df9a.chunk.js.map": "/react-prefetcher/static/js/2.dcc8df9a.chunk.js.map",
10-
"index.html": "/react-prefetcher/index.html",
11-
"precache-manifest.a9f226597b0d489b6806d532478b83cc.js": "/react-prefetcher/precache-manifest.a9f226597b0d489b6806d532478b83cc.js",
12-
"service-worker.js": "/react-prefetcher/service-worker.js",
13-
"static/css/main.0f84021f.chunk.css.map": "/react-prefetcher/static/css/main.0f84021f.chunk.css.map"
3+
"main.css": "https://manojvivek.github.io/react-prefetcher/static/css/main.0f84021f.chunk.css",
4+
"main.js": "https://manojvivek.github.io/react-prefetcher/static/js/main.066f72df.chunk.js",
5+
"main.js.map": "https://manojvivek.github.io/react-prefetcher/static/js/main.066f72df.chunk.js.map",
6+
"runtime~main.js": "https://manojvivek.github.io/react-prefetcher/static/js/runtime~main.46fcdfae.js",
7+
"runtime~main.js.map": "https://manojvivek.github.io/react-prefetcher/static/js/runtime~main.46fcdfae.js.map",
8+
"static/js/2.dcc8df9a.chunk.js": "https://manojvivek.github.io/react-prefetcher/static/js/2.dcc8df9a.chunk.js",
9+
"static/js/2.dcc8df9a.chunk.js.map": "https://manojvivek.github.io/react-prefetcher/static/js/2.dcc8df9a.chunk.js.map",
10+
"index.html": "https://manojvivek.github.io/react-prefetcher/index.html",
11+
"precache-manifest.f353fe2dcce57fdbfff016a75e042fe3.js": "https://manojvivek.github.io/react-prefetcher/precache-manifest.f353fe2dcce57fdbfff016a75e042fe3.js",
12+
"service-worker.js": "https://manojvivek.github.io/react-prefetcher/service-worker.js",
13+
"static/css/main.0f84021f.chunk.css.map": "https://manojvivek.github.io/react-prefetcher/static/css/main.0f84021f.chunk.css.map"
1414
}
1515
}

docs/index.html

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,19 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<link rel="shortcut icon" href="/react-prefetcher/favicon.ico" />
5+
<link
6+
rel="shortcut icon"
7+
href="https://manojvivek.github.io/react-prefetcher/favicon.ico"
8+
/>
69
<meta name="viewport" content="width=device-width,initial-scale=1" />
710
<meta name="theme-color" content="#000000" />
8-
<link rel="manifest" href="/react-prefetcher/manifest.json" />
11+
<link
12+
rel="manifest"
13+
href="https://manojvivek.github.io/react-prefetcher/manifest.json"
14+
/>
915
<title>React-prefetcher Demo App</title>
1016
<link
11-
href="/react-prefetcher/static/css/main.0f84021f.chunk.css"
17+
href="https://manojvivek.github.io/react-prefetcher/static/css/main.0f84021f.chunk.css"
1218
rel="stylesheet"
1319
/>
1420
</head>
@@ -19,57 +25,57 @@
1925
!(function(l) {
2026
function e(e) {
2127
for (
22-
var r, t, n = e[0], o = e[1], u = e[2], f = 0, i = [];
23-
f < n.length;
24-
f++
28+
var r, t, n = e[0], o = e[1], u = e[2], i = 0, f = [];
29+
i < n.length;
30+
i++
2531
)
26-
(t = n[f]), c[t] && i.push(c[t][0]), (c[t] = 0);
32+
(t = n[i]), p[t] && f.push(p[t][0]), (p[t] = 0);
2733
for (r in o)
2834
Object.prototype.hasOwnProperty.call(o, r) && (l[r] = o[r]);
29-
for (s && s(e); i.length; ) i.shift()();
30-
return p.push.apply(p, u || []), a();
35+
for (s && s(e); f.length; ) f.shift()();
36+
return c.push.apply(c, u || []), a();
3137
}
3238
function a() {
33-
for (var e, r = 0; r < p.length; r++) {
34-
for (var t = p[r], n = !0, o = 1; o < t.length; o++) {
39+
for (var e, r = 0; r < c.length; r++) {
40+
for (var t = c[r], n = !0, o = 1; o < t.length; o++) {
3541
var u = t[o];
36-
0 !== c[u] && (n = !1);
42+
0 !== p[u] && (n = !1);
3743
}
38-
n && (p.splice(r--, 1), (e = f((f.s = t[0]))));
44+
n && (c.splice(r--, 1), (e = i((i.s = t[0]))));
3945
}
4046
return e;
4147
}
4248
var t = {},
43-
c = { 1: 0 },
44-
p = [];
45-
function f(e) {
49+
p = { 1: 0 },
50+
c = [];
51+
function i(e) {
4652
if (t[e]) return t[e].exports;
4753
var r = (t[e] = { i: e, l: !1, exports: {} });
48-
return l[e].call(r.exports, r, r.exports, f), (r.l = !0), r.exports;
54+
return l[e].call(r.exports, r, r.exports, i), (r.l = !0), r.exports;
4955
}
50-
(f.m = l),
51-
(f.c = t),
52-
(f.d = function(e, r, t) {
53-
f.o(e, r) ||
56+
(i.m = l),
57+
(i.c = t),
58+
(i.d = function(e, r, t) {
59+
i.o(e, r) ||
5460
Object.defineProperty(e, r, { enumerable: !0, get: t });
5561
}),
56-
(f.r = function(e) {
62+
(i.r = function(e) {
5763
'undefined' != typeof Symbol &&
5864
Symbol.toStringTag &&
5965
Object.defineProperty(e, Symbol.toStringTag, { value: 'Module' }),
6066
Object.defineProperty(e, '__esModule', { value: !0 });
6167
}),
62-
(f.t = function(r, e) {
63-
if ((1 & e && (r = f(r)), 8 & e)) return r;
68+
(i.t = function(r, e) {
69+
if ((1 & e && (r = i(r)), 8 & e)) return r;
6470
if (4 & e && 'object' == typeof r && r && r.__esModule) return r;
6571
var t = Object.create(null);
6672
if (
67-
(f.r(t),
73+
(i.r(t),
6874
Object.defineProperty(t, 'default', { enumerable: !0, value: r }),
6975
2 & e && 'string' != typeof r)
7076
)
7177
for (var n in r)
72-
f.d(
78+
i.d(
7379
t,
7480
n,
7581
function(e) {
@@ -78,7 +84,7 @@
7884
);
7985
return t;
8086
}),
81-
(f.n = function(e) {
87+
(i.n = function(e) {
8288
var r =
8389
e && e.__esModule
8490
? function() {
@@ -87,20 +93,20 @@
8793
: function() {
8894
return e;
8995
};
90-
return f.d(r, 'a', r), r;
96+
return i.d(r, 'a', r), r;
9197
}),
92-
(f.o = function(e, r) {
98+
(i.o = function(e, r) {
9399
return Object.prototype.hasOwnProperty.call(e, r);
94100
}),
95-
(f.p = '/react-prefetcher/');
101+
(i.p = 'https://manojvivek.github.io/react-prefetcher/');
96102
var r = (window.webpackJsonp = window.webpackJsonp || []),
97103
n = r.push.bind(r);
98104
(r.push = e), (r = r.slice());
99105
for (var o = 0; o < r.length; o++) e(r[o]);
100106
var s = n;
101107
a();
102108
})([]);</script
103-
><script src="/react-prefetcher/static/js/2.dcc8df9a.chunk.js"></script
104-
><script src="/react-prefetcher/static/js/main.c19cf8e1.chunk.js"></script>
109+
><script src="https://manojvivek.github.io/react-prefetcher/static/js/2.dcc8df9a.chunk.js"></script
110+
><script src="https://manojvivek.github.io/react-prefetcher/static/js/main.066f72df.chunk.js"></script>
105111
</body>
106112
</html>

docs/precache-manifest.a9f226597b0d489b6806d532478b83cc.js

Lines changed: 0 additions & 22 deletions
This file was deleted.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
self.__precacheManifest = (self.__precacheManifest || []).concat([
2+
{
3+
revision: '45e6beacb7f569ac0c559ef2e02caac9',
4+
url: 'https://manojvivek.github.io/react-prefetcher/index.html',
5+
},
6+
{
7+
revision: 'f47b8a7839495d1ac2ff',
8+
url:
9+
'https://manojvivek.github.io/react-prefetcher/static/css/main.0f84021f.chunk.css',
10+
},
11+
{
12+
revision: 'f295713939b9d62a5fc3',
13+
url:
14+
'https://manojvivek.github.io/react-prefetcher/static/js/2.dcc8df9a.chunk.js',
15+
},
16+
{
17+
revision: 'f47b8a7839495d1ac2ff',
18+
url:
19+
'https://manojvivek.github.io/react-prefetcher/static/js/main.066f72df.chunk.js',
20+
},
21+
{
22+
revision: 'aca3f9a7930a1c37a08b',
23+
url:
24+
'https://manojvivek.github.io/react-prefetcher/static/js/runtime~main.46fcdfae.js',
25+
},
26+
]);

docs/service-worker.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ importScripts(
1616
);
1717

1818
importScripts(
19-
'/react-prefetcher/precache-manifest.a9f226597b0d489b6806d532478b83cc.js'
19+
'https://manojvivek.github.io/react-prefetcher/precache-manifest.f353fe2dcce57fdbfff016a75e042fe3.js'
2020
);
2121

2222
self.addEventListener('message', event => {
@@ -36,7 +36,9 @@ self.__precacheManifest = [].concat(self.__precacheManifest || []);
3636
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
3737

3838
workbox.routing.registerNavigationRoute(
39-
workbox.precaching.getCacheKeyForURL('/react-prefetcher/index.html'),
39+
workbox.precaching.getCacheKeyForURL(
40+
'https://manojvivek.github.io/react-prefetcher/index.html'
41+
),
4042
{
4143
blacklist: [/^\/_/, /\/[^\/]+\.[^\/]+$/],
4244
}
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)