Asset location fix for HTTPS