Switching of s3 and cloudfront asset hosting in dev mode