mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-13 20:24:00 +02:00
@@ -152,6 +152,7 @@ func fixUrl(s string) (string, error) {
|
||||
if serverAppend {
|
||||
if useLocalhost {
|
||||
u.Host = fmt.Sprintf("localhost:%d", serverPort)
|
||||
u.Scheme = "http"
|
||||
return u.String(), nil
|
||||
}
|
||||
host := u.Host
|
||||
|
Reference in New Issue
Block a user