Closed
Description
Describe the bug
When using an SVG image in <Image/>
it throws mixed content warning error in Next 11.
Mixed Content: The page at 'https://site.netlify.app/' was loaded over HTTPS, but requested an insecure image 'http://site.netlify.app/img/graphic.svg?url=%2Fimg%2Fgraphic.svg&w=1920&q=75'. This request has been blocked; the content must be served over HTTPS.
I have created a demo to replicate the issue, the SVG is not loading, instead of throwing 502 error this time.
https://nostalgic-mcnulty-ff9b66.netlify.app/
To Reproduce
Steps to reproduce the behavior:
- Create new Next 11 App
- Add
<Image/>
with src pointing to an svg file (*.svg
) - Upload to Netlify.app
- See the error in the console.
Expected behavior
It has something to do with HTTPS to HTTP error,
Versions
- Next.js: 11
- plugin : 3.6.0
Metadata
Metadata
Assignees
Labels
No labels