fix: optimize image loading on homepage

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-06-11 20:28:07 +07:00
parent 682f2ecc63
commit 0471e07633
5 changed files with 7 additions and 5 deletions

View File

@@ -6,7 +6,6 @@ module.exports = {
},
images: {
formats: ['image/avif', 'image/webp'],
dangerouslyAllowSVG: true,
remotePatterns: [
{
protocol: 'https',