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

Allow for custom hostname instead of using localhost #377

Merged
merged 3 commits into from
Jun 18, 2020

Conversation

brettpappas
Copy link
Contributor

This allows you to specify a different hostname when starting up the dev server instead of using the default localhost. This is useful where we have valid ssl certificates for our local dev environments and want the hostname to match.

@yyx990803
Copy link
Member

Shouldn't the hostname option be passed to server.listen as well?

@yyx990803 yyx990803 merged commit fe9b04e into vitejs:master Jun 18, 2020
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

Successfully merging this pull request may close these issues.

2 participants