mobeigi / mobeigi.com

Source code for the mobeigi.com website.
https://mobeigi.com
8 stars 1 forks source link

Set contentDispositionType to inline for images #186

Closed mobeigi closed 3 days ago

mobeigi commented 3 days ago

This will allow images to open up without triggering browser for download.

Since all our images are mine, there is no security risk in allowing SVG's to execute malicious code.

Relevant docs: https://nextjs.org/docs/pages/api-reference/components/image#dangerouslyallowsvg