This commit is contained in:
tresabhi committed 2026-08-05 13:01:51 -05:00
1 parent 851a1108d2
commit bc2b9f1267
10 files changed
+174 -15

No files matched your search

+2 -2
View File
@@ -4,8 +4,8 @@ import type { BlitzGlossary } from "../types";
export async function fetchGlossary(locale: string) {
const response = await fetch(
`${assertSecret(
import.meta.env.WOTB_GLOSSARY_DOMAIN
)}/${locale}${assertSecret(import.meta.env.WOTB_GLOSSARY_PATH)}`
import.meta.env.WOTB_GLOSSARY_DOMAIN,
)}/${locale}${assertSecret(import.meta.env.WOTB_GLOSSARY_PATH)}`,
);
return (await response.json()) as BlitzGlossary;
}