mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
fix: try fix windows build failed
This commit is contained in:
@@ -21,7 +21,8 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for await (const entry of glob("**/*.mdx", { cwd: "content/docs" })) {
|
for await (const entry of glob("**/*.mdx", { cwd: "content/docs" })) {
|
||||||
const slugs = getSlugs(entry);
|
const normalizedEntry = entry.replaceAll("\\", "/");
|
||||||
|
const slugs = getSlugs(normalizedEntry);
|
||||||
paths.push(getUrl(slugs), `/llms.mdx/docs/${[...slugs, "content.md"].join("/")}`);
|
paths.push(getUrl(slugs), `/llms.mdx/docs/${[...slugs, "content.md"].join("/")}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user