improve: dark theme

This commit is contained in:
Mahyar Khanbolooki
2025-08-12 21:44:04 +03:30
parent aa9414193e
commit 7b2eae1a21
7 changed files with 58 additions and 20 deletions
+10 -9
View File
@@ -6,15 +6,15 @@ const nextConfig: NextConfig = {
poweredByHeader: false,
images: {
remotePatterns: [
{
protocol: 'https',
hostname: '**',
},
{
protocol: 'http',
hostname: '**',
},
]
{
protocol: 'https',
hostname: '**',
},
{
protocol: 'http',
hostname: '**',
},
]
},
headers: async () => [
{
@@ -54,6 +54,7 @@ const withPWANextConfig = withPWA({
register: true,
skipWaiting: true,
disable: process.env.NODE_ENV === 'development',
maximumFileSizeToCacheInBytes: 5 * 1024 * 1024, // 5 MB
})(nextConfig);
export default withPWANextConfig;