Protocol agnostic CDN URLs are problematic

Yes, I had the same problem @itsbhanusharma. It’s too bad our default CSP policy doesn’t allow CDN URLs of the protocol agnostic form

//discourse.cdn.example.com

Is there some reason why we hard-coded this to https instead of being protocol agnostic @sam? Does CSP require https?

5 Likes