You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webpack scripts and styles was handled fine, because url is generated in rails, but all assets loaded inside .jsx? or .css did not have this domain obviously. It took me some time to find where is root cause of this and then solution was easy.
My opinion is, it should be shared across whole environment by default, because it can cause lot of confusion, but on other hand I can't find solution, which can be done without changing something directly in rails gem.
The text was updated successfully, but these errors were encountered:
Today I reach issue, where some of my assets was loaded from same domain as app and not from CDN as i have configured in
environment/production.rb
(my solution)
webpack scripts and styles was handled fine, because url is generated in rails, but all assets loaded inside
.jsx?
or.css
did not have this domain obviously. It took me some time to find where is root cause of this and then solution was easy.config/webpack/configuration.js
from
to
My opinion is, it should be shared across whole environment by default, because it can cause lot of confusion, but on other hand I can't find solution, which can be done without changing something directly in rails gem.
The text was updated successfully, but these errors were encountered: