i am working with rails and i want to load some java script components from other web source and render it in my web site which is hosted on heroku.
but heroku is not loading components from other web source.
is there any solution for it.
i copied this code in view. This java script is rendaring on localhost but not working on heroku.
thanx in advance.
It’s nearly-impossible to troubleshoot something like this based solely on the description “not working on Heroku”.
What messages do you get in the browser console when you load the page from Heroku?
Does the server at app.ecwid.com implement some kind of licensing? Some SaaS products will check the Referer header and deny access to requests coming from unlicensed domains that aren’t “localhost”.
Did you set the CORS on the domain that is serving up the assets?
Your problem almost certainly has nothing to do with Heroku.