the era of error begins
This commit is contained in:
parent
95ec5c3ce2
commit
bdadb064c7
1 changed files with 0 additions and 11 deletions
|
@ -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,
|
|
||||||
})),
|
|
||||||
});
|
|
Loading…
Reference in a new issue