Back to Withastro

CSP feature isn't enabled

src/content/docs/en/reference/errors/csp-not-enabled.mdx

latest484 B
Original Source

import DontEditWarning from '~/components/DontEditWarning.astro'

<DontEditWarning />

:::caution[Deprecated] This error is from an older version of Astro and is no longer in use. If you are unable to upgrade your project to a more recent version, then you can consult unmaintained snapshots of older documentation for assistance. :::

The security.csp configuration isn't enabled.

What went wrong?

The CSP feature isn't enabled