Fixing mixed-content warning