Skip to content

Commit

Permalink
Merge pull request #1 from strapi/chore/remotePattern
Browse files Browse the repository at this point in the history
Update: remotePatterns in next.config
  • Loading branch information
Mcastres authored Sep 24, 2024
2 parents 019532e + 2a58cb3 commit c078226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [{ hostname: "localhost", port: "1337" }],
remotePatterns: [{ hostname: process.env.IMAGE_HOSTNAME || "localhost" }],
},
pageExtensions: ["ts", "tsx"],
async redirects() {
Expand Down

0 comments on commit c078226

Please sign in to comment.