Disable the use of third-party cookies in Images by default.
This commit is contained in:
@@ -76,6 +76,7 @@ export default defineConfig({
|
||||
|
||||
image: {
|
||||
service: squooshImageService(),
|
||||
domains: ["cdn.pixabay.com"],
|
||||
},
|
||||
|
||||
markdown: {
|
||||
|
@@ -49,4 +49,4 @@ if (_image !== null && typeof _image === 'object') {
|
||||
}
|
||||
---
|
||||
|
||||
{!image ? <Fragment /> : <img src={image.src} {...image.attributes} />}
|
||||
{!image ? <Fragment /> : <img src={image.src} crossorigin="anonymous" referrerpolicy="no-referrer" {...image.attributes} />}
|
||||
|
Reference in New Issue
Block a user