mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
40 lines
638 B
JavaScript
40 lines
638 B
JavaScript
import { createMDX } from "fumadocs-mdx/next";
|
|
|
|
export const withMDX = createMDX({
|
|
configPath: "./source.config.ts",
|
|
});
|
|
|
|
export default withMDX({
|
|
reactStrictMode: true,
|
|
redirects: async () => {
|
|
return [
|
|
{
|
|
source: "/docs",
|
|
destination: "/docs/introduction",
|
|
permanent: true,
|
|
},
|
|
{
|
|
source: "/docs/examples",
|
|
destination: "/docs/examples/next-js",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
hostname: "images.unsplash.com",
|
|
},
|
|
{
|
|
hostname: "assets.aceternity.com",
|
|
},
|
|
{
|
|
hostname: "pbs.twimg.com",
|
|
},
|
|
{
|
|
hostname: "github.com",
|
|
},
|
|
],
|
|
},
|
|
});
|