Files
vercel__ai-elements/apps/docs/next.config.mjs
Hayden Bleasel 99000811a6 Update Geistdocs
2026-02-11 09:37:51 -08:00

52 lines
1.0 KiB
JavaScript

import { createMDX } from "fumadocs-mdx/next";
const withMDX = createMDX();
/** @type {import('next').NextConfig} */
const config = {
images: {
remotePatterns: [
{
hostname: "github.com",
protocol: "https",
},
{
hostname: "placehold.co",
protocol: "https",
},
],
},
redirects() {
return [
{
destination: "/",
permanent: true,
source: "/overview",
},
{
destination: "/examples/chatbot",
permanent: true,
source: "/examples",
},
{
destination: "/components/attachments",
permanent: true,
source: "/components",
},
{
destination: "/examples/chatbot",
permanent: true,
source: "/components/chatbot",
},
{
destination: "https://ui.shadcn.com/docs/components/radix/spinner",
permanent: true,
source: "/components/loader",
},
];
},
};
export default withMDX(config);