summaryrefslogtreecommitdiffstats
path: root/commands/server.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-02-05 22:58:17 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2016-02-05 22:58:17 +0100
commit74539dea8714a9004c20a969435860857ad503ab (patch)
treec4565b237194eeeabadebfca2e2f7b7931e3938b /commands/server.go
parenta89b2f41d679117de9f5cb645ec7074b6f61fe93 (diff)
Unexport the remaining vars in hugo command
Diffstat (limited to 'commands/server.go')
-rw-r--r--commands/server.go4
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
}