resolving asset serving issues with HTTPS