13 lines
341 B
TypeScript
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;
|