Google login integration not front due rocket loader

Looks like rocket loader is causing warnings in my javascript code that cause errors in the Google login feature.

I’m using angular with the javasctip code snippet provider by google

The javascript code is loaded fine on the other provider

But on cloudflare the code is loaded by rocker loader an cause the error

In the console I see warnings, not errors, but affect to the JavaScript files that not are loaded correctly.

rocket-loader.min.js:1 A preload for ‘https://foo.bar/runtime.02c6b16b7c200ec0.js’ is found, but is not used because the request credentials mode does not match. Consider taking a look at crossorigin attribute.

Any idea about how fix this issue?
It’s possible to disable rocket loader just for one subdomain?

Yes, use configuration rules…

1 Like