mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 08:53:49 +01:00
fix
This commit is contained in:
parent
f09922385b
commit
d219109d20
@ -8,6 +8,7 @@ export function getStaticEndpoints(): string[] {
|
||||
const files = getFiles(dir);
|
||||
const filtered = files
|
||||
.filter((file) => !file.includes('slug')) // exclude dynamic content
|
||||
.filter((file) => !/-ignore\.vue$/.test(file)) // ignore
|
||||
.map((file) => file.split('pages')[1])
|
||||
.map((file) => file.replaceAll('\\', '/'))
|
||||
.map((file) => {
|
||||
|
Loading…
Reference in New Issue
Block a user