commands: Server ignores baseurl in config #1821

Closed
moorereason opened this Issue Feb 5, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@moorereason
Member

moorereason commented Feb 5, 2016

When running hugo server with the following config snippet:

baseurl = "http://10.1.2.3:1313/"

Hugo ignores the baseurl in the config:

$ hugo server --bind 10.1.2.3
...
Web Server is available at http://localhost:1313/ (bind address 10.1.2.3)

Hugo should instead run as:

$ hugo server --bind 10.1.2.3
...
Web Server is available at http://10.1.2.3:1313/ (bind address 10.1.2.3)

This manifests itself in the generation of .Permalink values for nodes and pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment