Skip to content

Commit 8fec33c

Browse files
author
Dan Costello
committed
Remove search
1 parent 1477023 commit 8fec33c

3 files changed

Lines changed: 8 additions & 21 deletions

File tree

app/api/search/route.ts

Lines changed: 0 additions & 6 deletions
This file was deleted.

app/layout.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
import './global.css';
2-
import { RootProvider } from 'fumadocs-ui/provider';
3-
import type { ReactNode } from 'react';
1+
import "./global.css";
2+
import { RootProvider } from "fumadocs-ui/provider";
3+
import type { ReactNode } from "react";
44

55
export default function Layout({ children }: { children: ReactNode }) {
66
return (
7-
<html lang="en" suppressHydrationWarning>
7+
<html lang="en" suppressHydrationWarning>
88
<body className="flex flex-col min-h-screen">
99
<RootProvider
1010
search={{
11-
options: {
12-
type: 'static',
13-
},
11+
enabled: false,
1412
}}
1513
>
1614
{children}

next.config.mjs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
1-
import { createMDX } from 'fumadocs-mdx/next';
1+
import { createMDX } from "fumadocs-mdx/next";
22

33
const withMDX = createMDX();
44

5-
const isDev = process.env.NODE_ENV === 'development';
5+
const isDev = process.env.NODE_ENV === "development";
66

77
/** @type {import('next').NextConfig} */
88
const config = {
99
reactStrictMode: true,
10-
output: 'export',
10+
output: "export",
1111
images: {
1212
unoptimized: isDev,
13-
remotePatterns: [
14-
{
15-
hostname: 'files.readme.io',
16-
},
17-
],
1813
},
1914
};
2015

0 commit comments

Comments
 (0)