You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/01-app/04-api-reference/02-components/image.mdx
+11
Original file line number
Diff line number
Diff line change
@@ -520,6 +520,16 @@ module.exports = {
520
520
521
521
To protect your application from malicious users, configuration is required in order to use external images. This ensures that only external images from your account can be served from the Next.js Image Optimization API. These external images can be configured with the `remotePatterns` property in your `next.config.js` file, as shown below:
Copy file name to clipboardExpand all lines: packages/next/errors.json
+2-1
Original file line number
Diff line number
Diff line change
@@ -666,5 +666,6 @@
666
666
"665": "Failed to find Server Action \"%s\". This request might be from an older or newer deployment.\\nRead more: https://nextjs.org/docs/messages/failed-to-find-server-action",
667
667
"666": "Turbopack builds are only available in canary builds of Next.js.",
668
668
"667": "receiveExpiredTags is deprecated, and not expected to be called.",
669
-
"668": "Internal Next.js error: Router action dispatched before initialization."
669
+
"668": "Internal Next.js error: Router action dispatched before initialization.",
670
+
"669": "Specified images.remotePatterns must have protocol \"http\" or \"https\" received \"%s\"."
0 commit comments