Skip to content

production-mode

Auto Added by WPeMatico

Production mode – js load issues after upgrade to 2.4.7

I recently did upgrade my magento from 2.4.4 to 2.4.7 While running frontend in production mode, there are lots of issues regarding js file load. Example: The resource from “https://magento.local/static/version1716768798/frontend/XXX/base/en_GB/mage/common.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).… Read More »Production mode – js load issues after upgrade to 2.4.7

what environment variables can override application mode and where do they need to be set?

When I run deploy:mode:show, it shows an application mode followed by a message that says that its value may be overridden. For example: prod@mysite01:~/www$ ./bin/magento deploy:mode:show Current application mode: production. (Note: Environment variables may override this value.) Same thing if… Read More »what environment variables can override application mode and where do they need to be set?