...
|
...
|
@@ -11,7 +11,8 @@ const config = { |
|
|
// /^https:\/\/(.*)static\.yhbimg\.com/i
|
|
|
],
|
|
|
precachePage: [
|
|
|
'/offline.html'
|
|
|
'/offline.html',
|
|
|
'https://cdn.yoho.cn/pwa/404.png'
|
|
|
],
|
|
|
precacheStaticFile: [
|
|
|
'/index.css',
|
...
|
...
|
@@ -19,8 +20,7 @@ const config = { |
|
|
'/libs.js',
|
|
|
'/font/iconfont.woff',
|
|
|
'/common.offline.js',
|
|
|
'/common.offline.css',
|
|
|
'/pwa/404.png'
|
|
|
'/common.offline.css'
|
|
|
]
|
|
|
};
|
|
|
const qs = parseQs(self.location.search.substr(1));
|
...
|
...
|
|