File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default function createRoutes(store) {
1818
1919 return [
2020 {
21- path : '/ ' ,
21+ path : '* ' ,
2222 name : 'home' ,
2323 getComponent ( nextState , cb ) {
2424 const importModules = Promise . all ( [
@@ -36,14 +36,15 @@ export default function createRoutes(store) {
3636
3737 importModules . catch ( errorLoading ) ;
3838 } ,
39- } , {
40- path : '*' ,
41- name : 'notfound' ,
42- getComponent ( nextState , cb ) {
43- import ( 'containers/NotFoundPage' )
44- . then ( loadModule ( cb ) )
45- . catch ( errorLoading ) ;
46- } ,
39+ // }, {
40+ // path: '*',
41+ // name: 'notfound',
42+ // getComponent(nextState, cb) {
43+ // import('containers/NotFoundPage')
44+ // .then(loadModule(cb))
45+ // .catch(errorLoading);
46+ // },
47+ // },
4748 } ,
4849 ] ;
4950}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ module.exports = require('./webpack.base.babel')({
4646 // assets manipulations and do leak its manipulations to HtmlWebpackPlugin
4747 new OfflinePlugin ( {
4848 relativePaths : true ,
49- publicPath : '/' ,
49+ publicPath : '. /' ,
5050
5151 // No need to cache .htaccess. See http://mxs.is/googmp,
5252 // this is applied before any match in `caches` section
You can’t perform that action at this time.
0 commit comments