harden media
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user