mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-20 21:45:33 +00:00
29 lines
559 B
TypeScript
29 lines
559 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
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: "http://localhost:3001/:path*",
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|