Skip to content

Commit f83ad30

Browse files
committed
fix:Dockerfile build failed
1 parent 2be5e9a commit f83ad30

4 files changed

Lines changed: 3 additions & 6 deletions

File tree

web/app/docs/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ const server = createFromSource(source, {
1313
},
1414
});
1515

16-
export async function clientLoader() {
16+
export async function loader() {
1717
return server.staticGET();
1818
}

web/app/llms/full.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { getLLMText, source } from "@/lib/source";
22

3-
export async function clientLoader() {
3+
export async function loader() {
44
const scan = source.getPages().map(getLLMText);
55
const scanned = await Promise.all(scan);
66

web/app/llms/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { llms } from "fumadocs-core/source";
22

33
import { source } from "@/lib/source";
44

5-
export function clientLoader() {
5+
export function loader() {
66
return new Response(llms(source).index());
77
}

web/react-router.config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ export default {
1414
const excluded = [
1515
"/",
1616
"/about",
17-
"/api/search",
18-
"/llms.txt",
19-
"/llms-full.txt",
2017
"/memshell",
2118
"/probeshell",
2219
];

0 commit comments

Comments
 (0)