mutiny-web icon indicating copy to clipboard operation
mutiny-web copied to clipboard

Mime type load errors

Open futurepaul opened this issue 1 year ago • 4 comments

We've been seeing some errors that seem to be related to mime-type. Mostly that wasm is being served with the wrong mime-type (supposed to be served application/wasm), but I also saw a JS file be served with text/html. The fact that they work after refresh most of the time makes it seem caching related. Kind of sounds like this (unresolved) issue:

https://community.cloudflare.com/t/wrong-content-type-added-to-cloudflare-pages-site/373967/9

futurepaul avatar Nov 16 '23 21:11 futurepaul

this guy claims to have a solution: https://community.cloudflare.com/t/wrong-content-type/446632/12

futurepaul avatar Nov 16 '23 21:11 futurepaul

another thread on the topic has a js file for rewriting headers... not my ideal solution! https://community.cloudflare.com/t/pages-messes-with-mime-types/254794/16

futurepaul avatar Nov 16 '23 21:11 futurepaul

I believe this is related: Screenshot 2023-11-16 at 6 18 00 PM

futurepaul avatar Nov 17 '23 00:11 futurepaul

this guy claims to have a solution: https://community.cloudflare.com/t/wrong-content-type/446632/12

I set this up on signet-app for *.js, let me know if it fixes the problem over the next week or so.

AnthonyRonning avatar Nov 17 '23 05:11 AnthonyRonning