Hacker News new | ask | show | jobs
by aonic 5698 days ago
Not including the http|https tells the browser to use the current page to figure out if the file should be loaded over http or https. Loading http content if you're on a https page will trigger non-secure content warnings with browsers
1 comments

Thanks for the tip. I assumed we’d have to manually add the scheme to the url.