Subscribe to
Posts
Comments
NSLog(); Header Image

Protocol Relative URLs

The protocol-relative URL - Paul Irish

In short, just specify things like this:

<img src="//site.com/imgs/photo.png">

The "//" will fetch via HTTPS or HTTP depending on how the user is currently visiting.