From f89acaa25ac6d72f51f80f8a71abdbb2f995bdd0 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 26 Oct 2024 20:49:13 -0700 Subject: [PATCH] fix: restore header link by fetching lightweight non-home page --- workers/dynamic-pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workers/dynamic-pages/index.js b/workers/dynamic-pages/index.js index e8dbcede..e5577ee1 100644 --- a/workers/dynamic-pages/index.js +++ b/workers/dynamic-pages/index.js @@ -64,7 +64,7 @@ export default { break; } - const templateResponse = await fetch(`${BASE_URL}`); + const templateResponse = await fetch(`${BASE_URL}/save`); const template = await templateResponse.text(); const metadata = generateMetadata(data, type, globals); const html = updateDynamicContent(template, metadata, mediaHtml);