Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .env.example

This file was deleted.

12 changes: 8 additions & 4 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,18 @@ const nextConfig = {
]
},

webpack: (
config,
{ buildId, dev, isServer, defaultLoaders, webpack }
) => {
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
// Avoid trying to use 'canvas' and 'encoding' packages in the webpack build since they're not compatible or not needed
config.resolve.alias.canvas = false
config.resolve.alias.encoding = false
return config
},

// Configuration for 'next/image' to allow images from external URLs
images: {
// Specify allowed image domains to prevent errors when using external images
domains: ['lh3.googleusercontent.com'],
},
}

module.exports = nextConfig
Loading