first commit

This commit is contained in:
Michaël
2026-01-29 14:13:11 -03:00
commit 2302748c87
105 changed files with 93301 additions and 0 deletions

31
frontend/next.config.js Normal file
View File

@@ -0,0 +1,31 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
domains: ['localhost', 'images.unsplash.com'],
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
{
protocol: 'http',
hostname: 'localhost',
port: '3001',
},
],
},
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://localhost:3001/api/:path*',
},
{
source: '/uploads/:path*',
destination: 'http://localhost:3001/uploads/:path*',
},
];
},
};
module.exports = nextConfig;