Renamed 404

This commit is contained in:
2022-08-31 15:30:52 +01:00
parent b62fa4057a
commit 187c52cd44
3 changed files with 11 additions and 11 deletions

View File

@ -8,7 +8,7 @@ import Home from '@/views/Home.vue'
import Quiz from '@/views/quiz/Index.vue'
import QuizPage from '@/views/quiz/Quiz.vue'
import Question from '@/views/quiz/Question.vue'
import Error404 from '@/views/errors/Error404.vue'
import NotFound from '@/views/errors/NotFound.vue'
import Refused from '@/views/errors/Refused.vue'
import Results from '@/views/results/Index.vue'
import ResultsPage from '@/views/results/Results.vue'
@ -174,22 +174,22 @@ const routes = [
]
},
{
path: '/404',
name: 'Error404',
component: Error404,
path: '/err_notfound',
name: 'NotFound',
component: NotFound,
meta: {
index: -1,
title: 'Error 404: Not Found',
title: 'Error: Not Found',
svgPath: mdiWeb
}
},
{
path: "/:catchAll(.*)",
name: 'NotFound',
redirect: '/404',
redirect: '/err_notfound',
meta: {
index: -1,
title: 'Error 404: Not Found',
title: 'Error: Not Found',
svgPath: mdiWeb
}
},