Is there a way to specify the mime type for assets in the public folder?
I want to serve a service worker js file, but it’s being service as ‘text/html’ instead of ‘test/javascript’.
Is there a way to specify the mime type for assets in the public folder?
I want to serve a service worker js file, but it’s being service as ‘text/html’ instead of ‘test/javascript’.
let me know if you want to use another folder rather than public folder so i can help you
3 years later! Ha! I figured this out ages go, but thanks!