[Answered ]-Switching Djanto's STATIC_URL to HTTPS when site is accessed via HTTPS

2👍

✅

Since you’re using a separate subdomain for your assets, you can use a protocol-relative URL which always serves on the same protocol as the source page:

STATIC_URL = "//static.example.com"

Leave a comment