Commit f505a771 by zhanghaozhe

pre

parent 42eb6047
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
"detail.js": "/static/js/detail.9044cbd6.chunk.js", "detail.js": "/static/js/detail.9044cbd6.chunk.js",
"detail.js.map": "/static/js/detail.9044cbd6.chunk.js.map", "detail.js.map": "/static/js/detail.9044cbd6.chunk.js.map",
"main.css": "/static/css/main.54897f42.chunk.css", "main.css": "/static/css/main.54897f42.chunk.css",
"main.js": "/static/js/main.4c90b355.chunk.js", "main.js": "/static/js/main.85f65d31.chunk.js",
"main.js.map": "/static/js/main.4c90b355.chunk.js.map", "main.js.map": "/static/js/main.85f65d31.chunk.js.map",
"myorders.css": "/static/css/myorders.3ab93c8e.chunk.css", "myorders.css": "/static/css/myorders.3ab93c8e.chunk.css",
"myorders.js": "/static/js/myorders.dadaa225.chunk.js", "myorders.js": "/static/js/myorders.dadaa225.chunk.js",
"myorders.js.map": "/static/js/myorders.dadaa225.chunk.js.map", "myorders.js.map": "/static/js/myorders.dadaa225.chunk.js.map",
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
"static/js/30.71ffdc1e.chunk.js": "/static/js/30.71ffdc1e.chunk.js", "static/js/30.71ffdc1e.chunk.js": "/static/js/30.71ffdc1e.chunk.js",
"static/js/30.71ffdc1e.chunk.js.map": "/static/js/30.71ffdc1e.chunk.js.map", "static/js/30.71ffdc1e.chunk.js.map": "/static/js/30.71ffdc1e.chunk.js.map",
"index.html": "/index.html", "index.html": "/index.html",
"precache-manifest.d4a9ee15f8777831c897a175e062c8f0.js": "/precache-manifest.d4a9ee15f8777831c897a175e062c8f0.js", "precache-manifest.0c5085d8332f54e2df4a959ae907705f.js": "/precache-manifest.0c5085d8332f54e2df4a959ae907705f.js",
"service-worker.js": "/service-worker.js", "service-worker.js": "/service-worker.js",
"static/css/23.7c331155.chunk.css.map": "/static/css/23.7c331155.chunk.css.map", "static/css/23.7c331155.chunk.css.map": "/static/css/23.7c331155.chunk.css.map",
"static/css/24.1597b3e9.chunk.css.map": "/static/css/24.1597b3e9.chunk.css.map", "static/css/24.1597b3e9.chunk.css.map": "/static/css/24.1597b3e9.chunk.css.map",
......
...@@ -104,12 +104,12 @@ self.__precacheManifest = [ ...@@ -104,12 +104,12 @@ self.__precacheManifest = [
"url": "/static/js/detail.9044cbd6.chunk.js" "url": "/static/js/detail.9044cbd6.chunk.js"
}, },
{ {
"revision": "9fbc28df34cd33b25387", "revision": "73d5e2c7978518de0958",
"url": "/static/css/main.54897f42.chunk.css" "url": "/static/css/main.54897f42.chunk.css"
}, },
{ {
"revision": "9fbc28df34cd33b25387", "revision": "73d5e2c7978518de0958",
"url": "/static/js/main.4c90b355.chunk.js" "url": "/static/js/main.85f65d31.chunk.js"
}, },
{ {
"revision": "4aeb4e180c806c04fec1", "revision": "4aeb4e180c806c04fec1",
...@@ -216,14 +216,14 @@ self.__precacheManifest = [ ...@@ -216,14 +216,14 @@ self.__precacheManifest = [
"url": "/static/media/iconfont.49b71e86.woff" "url": "/static/media/iconfont.49b71e86.woff"
}, },
{ {
"revision": "68ab3b59f74192e13342be84b375b0d0",
"url": "/static/media/iconfont.68ab3b59.ttf"
},
{
"revision": "258c8d5da60b1b0610373942d54bf61d", "revision": "258c8d5da60b1b0610373942d54bf61d",
"url": "/static/media/iconfont.258c8d5d.eot" "url": "/static/media/iconfont.258c8d5d.eot"
}, },
{ {
"revision": "68ab3b59f74192e13342be84b375b0d0",
"url": "/static/media/iconfont.68ab3b59.ttf"
},
{
"revision": "14a31b5fa84738662af5", "revision": "14a31b5fa84738662af5",
"url": "/static/css/24.1597b3e9.chunk.css" "url": "/static/css/24.1597b3e9.chunk.css"
}, },
...@@ -232,7 +232,7 @@ self.__precacheManifest = [ ...@@ -232,7 +232,7 @@ self.__precacheManifest = [
"url": "/static/css/23.7c331155.chunk.css" "url": "/static/css/23.7c331155.chunk.css"
}, },
{ {
"revision": "3c8acf70b90c84f8fdef8525d57e2ffb", "revision": "715aee9c7b2bba01e4c7bf1217424336",
"url": "/index.html" "url": "/index.html"
} }
]; ];
\ No newline at end of file
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js"); importScripts("https://storage.googleapis.com/workbox-cdn/releases/3.6.3/workbox-sw.js");
importScripts( importScripts(
"/precache-manifest.d4a9ee15f8777831c897a175e062c8f0.js" "/precache-manifest.0c5085d8332f54e2df4a959ae907705f.js"
); );
workbox.clientsClaim(); workbox.clientsClaim();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -9,6 +9,10 @@ const PrivateRoute = ({component: Component, path, user, ...rest}) => { ...@@ -9,6 +9,10 @@ const PrivateRoute = ({component: Component, path, user, ...rest}) => {
let authenticated = jsCookie.get('token') && jsCookie.get('uid') let authenticated = jsCookie.get('token') && jsCookie.get('uid')
console.group('private-route')
console.log(authenticated)
console.groupEnd()
return ( return (
<Route {...rest} render={props => { <Route {...rest} render={props => {
return authenticated return authenticated
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment