web-portfolio/next.config.ts
2026-10-31 20:06:37 -05:00

13 lines
341 B
TypeScript

import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
async redirects() {
return [
{ source: '/blog', destination: '/', permanent: true },
{ source: '/blog/:slug*', destination: '/', permanent: true },
{ source: '/contact', destination: '/#contact', permanent: true },
];
},
};
export default nextConfig;