Specify mime type for assets in public folder

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’.

1 Like

let me know if you want to use another folder rather than public folder so i can help you

1 Like

3 years later! Ha! I figured this out ages go, but thanks!