mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
792b2438ed
commit
a89b2f41d6
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ func server(cmd *cobra.Command, args []string) error {
|
||||||
|
|
||||||
viper.Set("port", serverPort)
|
viper.Set("port", serverPort)
|
||||||
|
|
||||||
BaseURL, err := fixURL(BaseURL)
|
BaseURL, err := fixURL(viper.GetString("BaseURL"))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue