montera34 / pageonex

PageOneX. Analyzing front pages
http://pageonex.com
GNU Affero General Public License v3.0
53 stars 13 forks source link

D3 column chart is not working #247

Open numeroteca opened 1 year ago

numeroteca commented 1 year ago

We moved Pageonex.com to a new server following this method (using Docker and an external database) and the D3 chart above the front pages is not working. image See this thread as an example of the current problem: https://pageonex.com/numeroteca/available-space-2/

The problems can be seen in the console log in the browser: image

I think the problem is related to http and not https loading, as indicated in the log: Blocked loading mixed content "http://d3js.org/d3.v3.min.js" This d3 js file is called here /app/views/coding/display.html.erb

One possible solution is to load it from a local version.