Skip to content

Commit

Permalink
fix images not working in self-hodted env (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
KMKoushik authored Sep 27, 2024
1 parent 5c9c52e commit 35fdf2d
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,12 @@ const config = {
images: {
remotePatterns: [
{
hostname: 'upload-dev.splitpro.app',
port: '',
pathname: '/**',
protocol: 'https',
hostname: '**',
},
{
hostname: 'uploads.splitpro.app',
port: '',
pathname: '/**',
},
{
hostname: 's3.amazonaws.com',
port: '',
pathname: '/**',
},
{
hostname: 'splitwise.s3.amazonaws.com',
port: '',
pathname: '/**',
},
{
hostname: 'api.producthunt.com',
port: '',
pathname: '/**',
protocol: 'http',
hostname: '**',
},
],
},
Expand Down

0 comments on commit 35fdf2d

Please sign in to comment.