Hi! I looked at the Hugo documentation pages on Configuration and server but couldn’t quite find what I was after.
How can I change the URL (not just the port) where the preview & live reload appears when you run hugo serve?
I know you can change the port as a one-off with -p
But what if I wanted to permanently change it so that instead of being at localhost:1313 it was always at e.g. http://myActualHosting.com/admin/preview:somePort?
This feels like it’s something that I should be changing in the config.toml, but I can’t see anything in the docs that suggests its possible?
A bit more detail: as a learning exercise I’m thinking of creating a simple CMS for Hugo. I’d like to take advantage of Hugo’s live reload preview feature so that users could edit -> save -> view a preview in another tab/window immediately, before deciding whether to build. This should be doable if the CMS is also local, but it would be great to try and deploy this - so I user could log in to an “admin” section of their site and edit there. Meaning the preview needs to be at some url on the server rather than localhost.
I hope this makes sense - it’s very much a learning challenge for myself, so I may be missing something obvious.