mhsf-dev/next.config.mjs
2024-09-03 23:56:15 -05:00

26 lines
474 B
JavaScript

import { withContentlayer } from "next-contentlayer";
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: "https",
hostname: "img.clerk.com",
},
],
},
async redirects() {
return [
// Basic redirect
{
source: '/docs',
destination: '/docs/getting-started',
permanent: true,
},
]
},
};
export default withContentlayer(nextConfig);