20 lines
328 B
TypeScript
20 lines
328 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
eslint: {
|
|
ignoreDuringBuilds: true,
|
|
},
|
|
async redirects() {
|
|
return [
|
|
{
|
|
source: '/l/:slug',
|
|
destination: '/api/l/:slug',
|
|
permanent: false
|
|
}
|
|
];
|
|
}
|
|
};
|
|
|
|
export default nextConfig;
|