diff --git a/src/content/docs/en/reference/error-reference.mdx b/src/content/docs/en/reference/error-reference.mdx index f0812d9c5e55c..4b044ce2289f1 100644 --- a/src/content/docs/en/reference/error-reference.mdx +++ b/src/content/docs/en/reference/error-reference.mdx @@ -45,6 +45,7 @@ The following reference is a complete list of the errors you may encounter while - [**InvalidImageService**](/en/reference/errors/invalid-image-service/)
Error while loading image service. - [**MissingImageDimension**](/en/reference/errors/missing-image-dimension/)
Missing image dimensions - [**FailedToFetchRemoteImageDimensions**](/en/reference/errors/failed-to-fetch-remote-image-dimensions/)
Failed to retrieve remote image dimensions +- [**RemoteImageNotAllowed**](/en/reference/errors/remote-image-not-allowed/)
Remote image is not allowed - [**UnsupportedImageFormat**](/en/reference/errors/unsupported-image-format/)
Unsupported image format - [**UnsupportedImageConversion**](/en/reference/errors/unsupported-image-conversion/)
Unsupported image conversion - [**PrerenderDynamicEndpointPathCollide**](/en/reference/errors/prerender-dynamic-endpoint-path-collide/)
Prerendered dynamic endpoint has path collision. diff --git a/src/content/docs/en/reference/errors/remote-image-not-allowed.mdx b/src/content/docs/en/reference/errors/remote-image-not-allowed.mdx new file mode 100644 index 0000000000000..2f0029bda06f1 --- /dev/null +++ b/src/content/docs/en/reference/errors/remote-image-not-allowed.mdx @@ -0,0 +1,22 @@ +--- +# NOTE: This file is auto-generated from 'scripts/error-docgen.mjs' +# Do not make edits to it directly, they will be overwritten. +# Instead, change this file: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts +# Translators, please remove this note and the component. + +title: Remote image is not allowed +i18nReady: true +githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/errors/errors-data.ts +--- +import DontEditWarning from '~/components/DontEditWarning.astro' + + + + +> Remote image `IMAGE_URL` is not allowed by your image configuration. + +## What went wrong? +The remote image URL does not match your configured `image.domains` or `image.remotePatterns`. + + +