|
|
@@ -15,9 +15,10 @@ export default {
|
|
|
name: 'nuxt-error',
|
|
|
props: ['error'],
|
|
|
created () {
|
|
|
+ console.log(this.error, 'error')
|
|
|
if (this.error.statusCode === 500 && this.error.message.indexOf('Loading chunk') === 0) {
|
|
|
console.log('Loading chunk 26 failed')
|
|
|
- this.$router.redirect('/')
|
|
|
+ this.$router.push('/')
|
|
|
}
|
|
|
},
|
|
|
head () {
|