SoftwareBrothers/adminjs-fastify

Assets getting rejected by browser as not having correct content-type

yorch opened this issue · 2 comments

yorch commented

When I try to load AdminJS on the Chrome (also tested with Firefox), getting errors on the JS assets:

Refused to execute script from 'http://localhost:3000/admin/frontend/assets/global.bundle.js' because its MIME type ('application/octet-stream') is not executable, and strict MIME type checking is enabled.

image

Fixed in #2

yorch commented

thanks!