Files
tvone/next.config.ts
T
2026-04-20 16:29:58 +01:00

30 lines
583 B
TypeScript

import type { NextConfig } from "next";
import { env } from "@/lib/env";
const nextConfig: NextConfig = {
output: "standalone",
images: {
remotePatterns: [
{
protocol: "https",
hostname: "images.unsplash.com",
pathname: "/**",
},
{
protocol: 'https',
hostname: 'i.ytimg.com', // NOVO: Adicionado para as thumbnails do YouTube
},
],
},
async rewrites() {
return [
{
source: "/api/:path*",
destination: env.API_URL+"/:path*",
},
];
},
};
export default nextConfig;