Refactor next.config.mjs for improved readability and consistency

- Reformatted the structure of the `next.config.mjs` file for better readability.
- Ensured consistent indentation and spacing throughout the configuration.
- No functional changes were made; the configuration remains the same.
This commit is contained in:
simplr-sh 2025-01-06 10:38:01 +05:30
parent 186bd3c2cc
commit f8ce4bd871

View File

@ -9,7 +9,7 @@ jiti.import('./env/client')
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
transpilePackages: ['geist'], transpilePackages: ["geist"],
async headers() { async headers() {
return [ return [
{ {
@ -50,45 +50,45 @@ const nextConfig = {
protocol: 'https', protocol: 'https',
hostname: 'metwm7frkvew6tn1.public.blob.vercel-storage.com', hostname: 'metwm7frkvew6tn1.public.blob.vercel-storage.com',
port: '', port: '',
pathname: '**', pathname: "**"
}, },
// upload.wikimedia.org // upload.wikimedia.org
{ {
protocol: 'https', protocol: 'https',
hostname: 'upload.wikimedia.org', hostname: 'upload.wikimedia.org',
port: '', port: '',
pathname: '**', pathname: '**'
}, },
// media.theresanaiforthat.com // media.theresanaiforthat.com
{ {
protocol: 'https', protocol: 'https',
hostname: 'media.theresanaiforthat.com', hostname: 'media.theresanaiforthat.com',
port: '', port: '',
pathname: '**', pathname: '**'
}, },
// www.uneed.best // www.uneed.best
{ {
protocol: 'https', protocol: 'https',
hostname: 'www.uneed.best', hostname: 'www.uneed.best',
port: '', port: '',
pathname: '**', pathname: '**'
}, },
// image.tmdb.org // image.tmdb.org
{ {
protocol: 'https', protocol: 'https',
hostname: 'image.tmdb.org', hostname: 'image.tmdb.org',
port: '', port: '',
pathname: '/t/p/original/**', pathname: '/t/p/original/**'
}, },
// image.tmdb.org // image.tmdb.org
{ {
protocol: 'https', protocol: 'https',
hostname: 'image.tmdb.org', hostname: 'image.tmdb.org',
port: '', port: '',
pathname: '/**', pathname: '/**'
}, },
], ]
}, },
} };
export default nextConfig export default nextConfig;