I’m using the CLI of 3.85.5.
I deployed some code changes today, and after that, the JS and CSS in the theme app extension can’t be loaded. They all give 404 errors. The error is NS_ERROR_CORRUPTED_CONTENT.
GEThttps://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/abc.min.js NS_ERROR_CORRUPTED_CONTENT
GEThttps://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/abc.css NS_ERROR_CORRUPTED_CONTENT
GEThttps://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/def.js NS_ERROR_CORRUPTED_CONTENT
The resource from “https://cdn.shopify.com/extensions/0199c852-e794-7815-a3e6-1188a23620a3/dev-32ec80e9-0b6a-484b-9be8-47faed2f4887/assets/abc.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
This error just happens after I deploy with CLI. Why is it happening? It only affects the dev mode. The production isn’t affected.