mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 10:19:07 +01:00
fix
This commit is contained in:
parent
2ee78f1faf
commit
5bdecf0117
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ if (!data.value) {
|
|||
throw createError({ statusCode: 404, statusMessage: 'page not found', fatal: true });
|
||||
}
|
||||
|
||||
if (data.value._path && /index\.[a-z]+$/.test(data.value._path)) {
|
||||
if (data.value._file && /index\.[a-z]+$/.test(data.value._file)) {
|
||||
route.meta.__isDocsIndexPage = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue