diff --git a/src/components/directory/index.tsx b/src/components/directory/index.tsx index 29d18fd..f776b8e 100644 --- a/src/components/directory/index.tsx +++ b/src/components/directory/index.tsx @@ -84,7 +84,7 @@ function Readme() { useEffect(() => { async function refresh() { const pathname = location.pathname; - const res = await fetch(`/api/raw/${pathname}${pathname.endsWith("/") ? "" : "/"}README.md`, { + const res = await fetch(`/api/raw${pathname}${pathname.endsWith("/") ? "" : "/"}README.md`, { cache: "no-cache" });