mirror of
https://github.com/vercel/ai-elements.git
synced 2026-09-14 19:48:26 +08:00
038f4f7a72
Removed remotePatterns configuration for images.
39 lines
823 B
JavaScript
39 lines
823 B
JavaScript
import { createMDX } from "fumadocs-mdx/next";
|
|
|
|
const withMDX = createMDX();
|
|
|
|
/** @type {import('next').NextConfig} */
|
|
const config = {
|
|
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);
|