···190190 // This allows first-time publishing to proceed without the git-pages server yet having
191191 // a TLS certificate for the site host (which has a circular dependency on completion of
192192 // first-time publishing).
193193- newURL := *siteURL
193193+ newURL := *request.URL
194194 newURL.Host = *serverFlag
195195 request.URL = &newURL
196196 request.Header.Set("Host", siteURL.Host)