diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -64,7 +64,9 @@ func main() { if *baseUrl != "" { config.BaseUrl = *baseUrl - } + } else if *server { + config.BaseUrl = "http://localhost:" + *port + } if *version { fmt.Println("Hugo Static Site Generator v0.8") |