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;
