harden media

This commit is contained in:
2025-12-31 15:39:28 +01:00
parent 92226800df
commit 8260bf7baf
413 changed files with 8361 additions and 1544 deletions

View File

@@ -20,6 +20,11 @@ const nextConfig = {
protocol: 'https',
hostname: 'picsum.photos',
},
{
protocol: 'http',
hostname: 'localhost',
port: '3000',
},
{
protocol: 'http',
hostname: 'localhost',
@@ -49,6 +54,10 @@ const nextConfig = {
source: '/api/:path*',
destination: `${baseUrl}/:path*`,
},
{
source: '/media/:path*',
destination: `${baseUrl}/media/:path*`,
},
];
},
typescript: {