Ensure scripts and styles are served over the right protocol.