diff --git a/next.config.js b/next.config.js index cec5b71a..7fb05268 100644 --- a/next.config.js +++ b/next.config.js @@ -23,6 +23,18 @@ const nextConfig = { config.resolve.alias.encoding = false return config }, + + // Solves image error when logging in via Google + images: { + remotePatterns: [ + { + protocol: "https", + hostname: "*.googleusercontent.com", + port: "", + pathname: "**", + }, + ], + }, } module.exports = nextConfig