Update Next to 14.0.2
This commit is contained in:
+19
-3
@@ -7,8 +7,6 @@ const withPWA = require('next-pwa')({
|
||||
skipWaiting: true
|
||||
})
|
||||
|
||||
const domains = process.env.NEXT_PUBLIC_DOMAINS_IMAGE.split(' ') || 'localhost'
|
||||
|
||||
module.exports = withPlausibleProxy()(withPWA({
|
||||
webpack: config => {
|
||||
config.module.rules.push({
|
||||
@@ -20,6 +18,24 @@ module.exports = withPlausibleProxy()(withPWA({
|
||||
},
|
||||
swcMinify: true,
|
||||
images: {
|
||||
domains
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'api.oki.re',
|
||||
},
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: 'oki.re',
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: '127.0.0.1',
|
||||
},
|
||||
{
|
||||
protocol: 'http',
|
||||
hostname: 'localhost',
|
||||
},
|
||||
]
|
||||
|
||||
}
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user