Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent https://www.gstatic.com/charts/loader.js URL from minification #91

Merged
merged 1 commit into from
Jul 27, 2017

Conversation

iskliarenko
Copy link
Contributor

The fix for a dashboard graph:
When 'JS minification' is enabled in config (Stores>Configuration>Advanced>Developer>JavaScript Settings>Minify JavaScript Files = Yes),
Magento2 tries to load all resources (that loaded via require.js) using .min.js suffix and URL, which is used for building graph (https://www.gstatic.com/charts/loader.js)
will be replaced by 'https://www.gstatic.com/charts/loader.min.js' and the customer gets 404.
Here is an example: magento/magento2#5835 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants