fix: restore header link by fetching lightweight non-home page

This commit is contained in:
Cory Dransfeldt 2024-10-26 20:49:13 -07:00
parent 7ef740f148
commit f89acaa25a
No known key found for this signature in database

View file

@ -64,7 +64,7 @@ export default {
break; break;
} }
const templateResponse = await fetch(`${BASE_URL}`); const templateResponse = await fetch(`${BASE_URL}/save`);
const template = await templateResponse.text(); const template = await templateResponse.text();
const metadata = generateMetadata(data, type, globals); const metadata = generateMetadata(data, type, globals);
const html = updateDynamicContent(template, metadata, mediaHtml); const html = updateDynamicContent(template, metadata, mediaHtml);