Skip to content

Commit 81ed16c

Browse files
Update src/pages/llms-index.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Tippi Fifestarr <62179036+tippi-fifestarr@users.noreply.github.com>
1 parent 2858008 commit 81ed16c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/pages/llms-index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getCollection } from "astro:content";
33

44
export const prerender = true;
55

6-
const SITE_URL = "https://aptos.dev";
6+
const SITE_URL = import.meta.env.SITE;
77

88
// Pages to exclude from the index entirely
99
const EXCLUDE_PAGES = new Set(["contribute/components/themed-image"]);
@@ -62,7 +62,6 @@ function formatEntry(doc: Doc): string {
6262
}
6363

6464
export const GET: APIRoute = async () => {
65-
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call
6665
const docs = await getCollection("docs");
6766

6867
// Filter to English-only, exclude 404, locale roots, and excluded pages

0 commit comments

Comments
 (0)