Skip to content

Commit

Permalink
fix next.config to display uploaded images on production
Browse files Browse the repository at this point in the history
  • Loading branch information
samuraikun committed Mar 22, 2024
1 parent 1f9b4f7 commit a4aa58f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 32 deletions.
5 changes: 5 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ const nextConfig = {
hostname: '127.0.0.1',
port: '54321',
pathname: '/storage/v1/object/public/**'
},
{
protocol: 'https',
hostname: 'tabi-memo.vercel.app',
pathname: '/storage/v1/object/public/**'
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5",
"vercel": "^33.5.5",
"vercel": "^33.6.1",
"zod": "^3.22.4"
},
"peerDependencies": {
Expand Down
60 changes: 29 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a4aa58f

Please sign in to comment.