diff --git a/config/webpack.common.js b/config/webpack.common.js index 5081808..6428f1c 100644 --- a/config/webpack.common.js +++ b/config/webpack.common.js @@ -28,7 +28,7 @@ module.exports = { loader: 'url-loader', options: { limit: 10240, - name: path.normalize('assets/[name].[ext]') + name: path.normalize('asset/[name].[ext]') } } ] @@ -40,7 +40,7 @@ module.exports = { loader: 'url-loader', options: { limit: 10240, - name: path.normalize('assets/[name].[ext]') + name: path.normalize('asset/[name].[ext]') } } ] diff --git a/docs/service-worker.js b/docs/service-worker.js index 0c87f97..9a34431 100644 --- a/docs/service-worker.js +++ b/docs/service-worker.js @@ -1,7 +1,7 @@ 'use strict'; // Update cache names any time any of the cached files change. -const ASSET_CACHE_NAME = 'asset-cache-v2'; +const ASSET_CACHE_NAME = 'asset-cache-v3'; const DATA_CACHE_NAME = 'data-cache-v1'; // Add list of files to cache here. @@ -15,7 +15,7 @@ const FILES_TO_CACHE = [ '/main.8252d8c61f50a9c82065.css', '/vendor.8455524c.js', '/favicon.png', - '/theme.png', + '/assets/theme.png' ]; self.addEventListener('install', (evt) => {