mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 00:43:50 +01:00
fix
This commit is contained in:
parent
2ee78f1faf
commit
5bdecf0117
@ -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 New Issue
Block a user