pl-fe: handle 404 for about pages

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2025-11-22 15:34:46 +01:00
parent c50e8db4a6
commit eed3396ed6

View File

@ -7,6 +7,8 @@ const fetchAboutPage = async (slug: string, locale?: string) => {
const { data } = await staticFetch(`/instance/about/${filename}`);
if (data.includes('<div id="plfe">')) return '';
return data;
};