javascript - HTTPS request to avatars.io returns HTTP url that causes 'Mixed Content' error -


I'm trying to deal with this, I want to send an HTTP / HTTPS request based on the current page protocol.

When I send an HTTPS request for avatars.io service, like ... I got the answer

and for this reason the 'mixed content' error

There is also a question: How can I change host to host unwanted requests before uploading host?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -