Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTPS fail to load external resources #217

Closed
neissa opened this issue Apr 16, 2016 · 2 comments
Closed

HTTPS fail to load external resources #217

neissa opened this issue Apr 16, 2016 · 2 comments

Comments

@neissa
Copy link

neissa commented Apr 16, 2016

Hi,
I've installed PhpMetrics v1.10.0 with composer and use the archive.

In the repport we have external ressource loaded with http

http://nvd3.org/assets/js/nv.d3.js
http://d3js.org/d3.v3.min.js
http://nvd3.org/assets/css/nv.d3.css

when the repport is loaded over HTTPS this resources can't load because of mixed origin,

you should use an another CDN like this one https://cdnjs.com/libraries/nvd3

@halfer
Copy link
Contributor

halfer commented Apr 16, 2016

I believe there is a switch in the new version to use local resources rather than CDNs - will that help you out in the short term?

Edit: #199 indicates the flag you need is --offline.

@Halleck45
Copy link
Collaborator

the https://cdnjs.com/libraries/nvd3 CDN doesn't contain our used version of nvd3 :(

Using the --offline option should resolve your problem. I close this issue, but feel free to reopen it if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants