improve: dark theme
This commit is contained in:
+10
-9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user