dijs / wiki

Wikipedia Interface for Node.js
MIT License
315 stars 61 forks source link

use // in place of http to default to same protocal #161

Open kieckhafer opened 2 years ago

kieckhafer commented 2 years ago

I was experiencing an issue where my site, which uses HTTPS, was throwing an error because the default url for the API is HTTP. Updating this to use // will use the same protocol as the website your package is used on, which should fix this issue.