v3: fix to site name substitution
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 40s

This commit is contained in:
khannurien
2026-06-21 20:55:19 +00:00
parent 473f1046f3
commit dbd2e15158

View File

@@ -59,7 +59,10 @@ async function loadIndexHtml(): Promise<string | null> {
const path of [`${Deno.cwd()}/dist/index.html`, `${Deno.cwd()}/index.html`]
) {
try {
cachedHtml = await Deno.readTextFile(path);
cachedHtml = (await Deno.readTextFile(path)).replaceAll(
"__SITE_NAME__",
OG_SITE_NAME,
);
return cachedHtml;
} catch {
continue;