web-portfolio/next.config.ts

14 lines
341 B
TypeScript
Raw Normal View History

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