Skip to content

Commit

Permalink
Fix site build for GitHub pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhefner committed Feb 13, 2019
1 parent 05830d9 commit d612160
Show file tree
Hide file tree
Showing 13 changed files with 42 additions and 41 deletions.
22 changes: 11 additions & 11 deletions docs/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"main.css": "/static/css/main.afb8925f.chunk.css",
"main.js": "/static/js/main.356c9d7a.chunk.js",
"main.js.map": "/static/js/main.356c9d7a.chunk.js.map",
"runtime~main.js": "/static/js/runtime~main.fdfcfda2.js",
"runtime~main.js.map": "/static/js/runtime~main.fdfcfda2.js.map",
"static/js/2.c68935a7.chunk.js": "/static/js/2.c68935a7.chunk.js",
"static/js/2.c68935a7.chunk.js.map": "/static/js/2.c68935a7.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.f07770e1719792a076b48136c3679585.js": "/precache-manifest.f07770e1719792a076b48136c3679585.js",
"service-worker.js": "/service-worker.js",
"static/css/main.afb8925f.chunk.css.map": "/static/css/main.afb8925f.chunk.css.map"
"main.css": "/react-contentful/static/css/main.afb8925f.chunk.css",
"main.js": "/react-contentful/static/js/main.232ccdd7.chunk.js",
"main.js.map": "/react-contentful/static/js/main.232ccdd7.chunk.js.map",
"runtime~main.js": "/react-contentful/static/js/runtime~main.52fca8b6.js",
"runtime~main.js.map": "/react-contentful/static/js/runtime~main.52fca8b6.js.map",
"static/js/2.c68935a7.chunk.js": "/react-contentful/static/js/2.c68935a7.chunk.js",
"static/js/2.c68935a7.chunk.js.map": "/react-contentful/static/js/2.c68935a7.chunk.js.map",
"index.html": "/react-contentful/index.html",
"precache-manifest.ffeb987ead0998ed4f1b4690a350e7b4.js": "/react-contentful/precache-manifest.ffeb987ead0998ed4f1b4690a350e7b4.js",
"service-worker.js": "/react-contentful/service-worker.js",
"static/css/main.afb8925f.chunk.css.map": "/react-contentful/static/css/main.afb8925f.chunk.css.map"
}
Binary file modified docs/favicon.ico
100755 → 100644
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/main.afb8925f.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(l){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,i=[];f<n.length;f++)t=n[f],p[t]&&i.push(p[t][0]),p[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(l[r]=o[r]);for(s&&s(e);i.length;)i.shift()();return c.push.apply(c,u||[]),a()}function a(){for(var e,r=0;r<c.length;r++){for(var t=c[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==p[u]&&(n=!1)}n&&(c.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},p={1:0},c=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return l[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=l,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/static/js/2.c68935a7.chunk.js"></script><script src="/static/js/main.356c9d7a.chunk.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="shortcut icon" href="/react-contentful/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"/><meta name="theme-color" content="#000000"/><link rel="manifest" href="/react-contentful/manifest.json"/><title>React App</title><link href="/react-contentful/static/css/main.afb8925f.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(i){function e(e){for(var r,t,n=e[0],o=e[1],u=e[2],f=0,l=[];f<n.length;f++)t=n[f],c[t]&&l.push(c[t][0]),c[t]=0;for(r in o)Object.prototype.hasOwnProperty.call(o,r)&&(i[r]=o[r]);for(s&&s(e);l.length;)l.shift()();return p.push.apply(p,u||[]),a()}function a(){for(var e,r=0;r<p.length;r++){for(var t=p[r],n=!0,o=1;o<t.length;o++){var u=t[o];0!==c[u]&&(n=!1)}n&&(p.splice(r--,1),e=f(f.s=t[0]))}return e}var t={},c={1:0},p=[];function f(e){if(t[e])return t[e].exports;var r=t[e]={i:e,l:!1,exports:{}};return i[e].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.m=i,f.c=t,f.d=function(e,r,t){f.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(r,e){if(1&e&&(r=f(r)),8&e)return r;if(4&e&&"object"==typeof r&&r&&r.__esModule)return r;var t=Object.create(null);if(f.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&e&&"string"!=typeof r)for(var n in r)f.d(t,n,function(e){return r[e]}.bind(null,n));return t},f.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(r,"a",r),r},f.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},f.p="/react-contentful/";var r=window.webpackJsonp=window.webpackJsonp||[],n=r.push.bind(r);r.push=e,r=r.slice();for(var o=0;o<r.length;o++)e(r[o]);var s=n;a()}([])</script><script src="/react-contentful/static/js/2.c68935a7.chunk.js"></script><script src="/react-contentful/static/js/main.232ccdd7.chunk.js"></script></body></html>
22 changes: 0 additions & 22 deletions docs/precache-manifest.f07770e1719792a076b48136c3679585.js

This file was deleted.

22 changes: 22 additions & 0 deletions docs/precache-manifest.ffeb987ead0998ed4f1b4690a350e7b4.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
self.__precacheManifest = [
{
"revision": "232ccdd74e7b5e44dbd5",
"url": "/react-contentful/static/css/main.afb8925f.chunk.css"
},
{
"revision": "232ccdd74e7b5e44dbd5",
"url": "/react-contentful/static/js/main.232ccdd7.chunk.js"
},
{
"revision": "52fca8b68e2875950335",
"url": "/react-contentful/static/js/runtime~main.52fca8b6.js"
},
{
"revision": "c68935a7e4a360cc5496",
"url": "/react-contentful/static/js/2.c68935a7.chunk.js"
},
{
"revision": "2120ce37c82ca2299175e80cf885f510",
"url": "/react-contentful/index.html"
}
];
4 changes: 2 additions & 2 deletions docs/service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");

importScripts(
"/precache-manifest.f07770e1719792a076b48136c3679585.js"
"/react-contentful/precache-manifest.ffeb987ead0998ed4f1b4690a350e7b4.js"
);

workbox.clientsClaim();
Expand All @@ -28,7 +28,7 @@ self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.suppressWarnings();
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute("/index.html", {
workbox.routing.registerNavigationRoute("/react-contentful/index.html", {

blacklist: [/^\/_/,/\/[^\/]+\.[^\/]+$/],
});

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d612160

Please sign in to comment.