gratipay / grtp.co

Gratipay Widgets + API
https://grtp.co/
MIT License
26 stars 19 forks source link

When using local HTML file, v1.js fails to load #99

Closed HeroCC closed 9 years ago

HeroCC commented 9 years ago

I often use local html files to test before I push them, but because grtp.co/v1.js uses relative URLs, it fails. If there is a way to detect file:// protocol and redirect it to https:// that would be great, or even better just use https:// by default. Thanks!

HeroCC commented 9 years ago

I just made a PR to fix this, although it may not be the way you want to fix this. See #100