/** @type {import('next').NextConfig} */ const nextConfig = { async rewrites() { return [ { source: "/api/:path*", destination: "http://127.0.0.1:8000/api/:path*", }, { source: "/covers/:path*", destination: "http://127.0.0.1:8000/covers/:path*", }, ]; }, }; export default nextConfig;