diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-02-05 22:58:17 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-02-05 22:58:17 +0100 |
commit | 74539dea8714a9004c20a969435860857ad503ab (patch) | |
tree | c4565b237194eeeabadebfca2e2f7b7931e3938b /commands/server.go | |
parent | a89b2f41d679117de9f5cb645ec7074b6f61fe93 (diff) |
Unexport the remaining vars in hugo command
Diffstat (limited to 'commands/server.go')
-rw-r--r-- | commands/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/server.go b/commands/server.go index ae9375081..94d155ab9 100644 --- a/commands/server.go +++ b/commands/server.go @@ -128,7 +128,7 @@ func server(cmd *cobra.Command, args []string) error { viper.Set("port", serverPort) - BaseURL, err := fixURL(viper.GetString("BaseURL")) + BaseURL, err := fixURL(baseURL) if err != nil { return err } @@ -139,7 +139,7 @@ func server(cmd *cobra.Command, args []string) error { } // If a Destination is provided via flag write to disk - if Destination != "" { + if destination != "" { renderToDisk = true } |