You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding https:// fixes the problem, but then it has to be edited out again for production. Ideally hugo should remove mysite.tld as it is the domain name itself, and the web server be available at:
Note/Update: This issue is marked as stale, and I may have said something earlier about "opening a thread on the discussion forum". Please don't.
If this is a bug and you can still reproduce this error on the latest release or the master branch, please reply with all of the information you have about it in order to keep the issue open.
If this is a feature request, and you feel that it is still relevant and valuable, please tell us why.
I could reproduce this on v0.16, but just downloaded v0.19 and it seems fixed. Unfortunately 0.19 also seems to have broken all my redirects so I can't switch to that yet, need to track what that is.
Scheme relative BaseURL can be used by setting BaseURL in the config file as:
baseurl = //mysite.tld/relative
While using '//mysite.tld/relative' works for production, it does not work for development as localhost is still added. Hence hugo says:
and accessing that link results in a 404.
Adding https:// fixes the problem, but then it has to be edited out again for production. Ideally hugo should remove mysite.tld as it is the domain name itself, and the web server be available at:
The text was updated successfully, but these errors were encountered: