19 lines
368 B
TypeScript
19 lines
368 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
typescript: {
|
|
ignoreBuildErrors: true,
|
|
},
|
|
// Proxy para o Minio - Isso resolve o problema de DNS e AdBlock
|
|
async rewrites() {
|
|
return [
|
|
{
|
|
source: '/storage/:path*',
|
|
destination: 'http://minio:9000/:path*',
|
|
},
|
|
]
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|