[Answer]-How to make game use https when played via facebook and http when played from other domain

1👍

You could use protocol relative urls to save yourself from the pain of worrying about the protocol to use.

So the settings would look like:

STATIC_URL = "//d******1.cloudfront.net/"

and you can safely get rid of all the computation logic in your code snippet.

Leave a comment