the era of error begins

This commit is contained in:
Cypro Freelance 2024-06-24 13:37:21 +05:30
parent 95ec5c3ce2
commit bdadb064c7

View file

@ -1,11 +0,0 @@
import { getPages } from "@/app/source";
import { createSearchAPI } from "fumadocs-core/search/server";
export const { GET } = createSearchAPI("advanced", {
indexes: getPages().map((page) => ({
title: page.data.title,
structuredData: page.data.exports.structuredData,
id: page.url,
url: page.url,
})),
});