Skip to content

Doesn't throw error if domain isn't in image domains list using Cloudflare adapter #16175

@LouieRichardson99

Description

@LouieRichardson99

Astro Info

Astro                    v6.1.2
Vite                     v7.3.1
Node                     v23.11.0
System                   macOS (arm64)
Package Manager          npm
Output                   static
Adapter                  @astrojs/cloudflare (v13.1.3)

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

There is no error being thrown during development when trying to load a remote image that isn't listed as a domain in our image domains config - I'm using the Cloudflare adapter.

What's the expected result?

It should throw an error like it usually would on a fresh project.

Link to Minimal Reproducible Example

Can't use Cloudflare adapter in Stackblitz

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    - P2: nice to haveNot breaking anything but nice to have (priority)pkg: astroRelated to the core `astro` package (scope)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions