Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default base_url for zola serve to just / #2089

Open
orlp opened this issue Jan 27, 2023 · 1 comment
Open

Change default base_url for zola serve to just / #2089

orlp opened this issue Jan 27, 2023 · 1 comment

Comments

@orlp
Copy link
Contributor

orlp commented Jan 27, 2023

Currently the base_url for zola serve is 127.0.0.1. This means that viewing pages across devices (such as a mobile phone for checking responsiveness) over the local network is broken by default.

Once #2076 is fixed I would propose we change the default base_url override for zola serve to just /.

Similarly (although this is more controversial due to potential privacy issues) I'd propose we change the default bind address from 127.0.0.1 to 0.0.0.0. With the two above changes zola serve works across the local network by default.

@Keats
Copy link
Collaborator

Keats commented Jan 27, 2023

Having a separate base_url for the feed is not a good solution though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants