This commit is contained in:
kakkokari-gtyih 2023-12-30 13:31:17 +09:00
parent 2ee78f1faf
commit 5bdecf0117

View File

@ -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;
}