can’t exclude file from js minify

[ad_1]

Hi,

On the main page there is a leaflet map with placholder on it with the following text on scroll: “use ctrl + scroll to zoom the map”. This should be translated to german, but the german js doesn’t load if powered cache is enabled.

If you have a look in the devtools / network / js, there is a CORS error for the following file:

I added the following file path to the excluded files of minified JS and also to the rejected files of the CDN and purged the cache: /wp-content/plugins/ootb-openstreetmap/assets/vendor/leaflet-gesture-handling/locales/de.js

But unfortunately it still tries to load the minified version from the CDN and the js breaks.

Please use F12 for dev tools because right click is disabled. Thank you for the support in advance!

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer