0

This is the CDN that I am attempting to use:

<script src="http://sdks.shopifycdn.com/js-buy-sdk/v1/latest/index.umd.min.js"></script>

This source URL is not secure, but my website is, therefore, I am getting a mixed-content error when my site runs. What is the solution to this problem? What am I missing here?

user1206480
  • 1,798
  • 3
  • 28
  • 45
  • You can always change the source to just // and the browser will then get HTTPS if the current session is also HTTPS. – David Lazar Dec 16 '18 at 16:35

1 Answers1

0

Open the link shopifycdn js and copy it into your own .js file with their copyright header included and use it. It has MIT license and therefore you can use it as your own.

chg
  • 114
  • 1
  • 7