Skip to content

Commit

Permalink
chore(next.config.js): add unoptimized to true to solve export error
Browse files Browse the repository at this point in the history
  • Loading branch information
Rory0304 committed Jun 23, 2023
1 parent fff9025 commit 9d5482d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
const nextConfig = {
output: "export",
images: {
// ref: https://nextjs.org/docs/messages/export-image-api
unoptimized: true,
remotePatterns: [
{
protocol: "https",
Expand Down

0 comments on commit 9d5482d

Please sign in to comment.