Skip to content

Commit

Permalink
fix img issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeSinLiang committed Mar 31, 2024
1 parent 5a10233 commit f858b40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/next-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ const PORT = Number(process.env.PORT) || 3000
export const nextApp = next({
dev: process.env.NODE_ENV !== "production",
port: PORT,
conf: {
images: {
domains: ['localhost', 'https://arbour-io.onrender.com']
}
}
})

export const nextHandler = nextApp.getRequestHandler()

0 comments on commit f858b40

Please sign in to comment.