-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the problem
currently the vite devserver has no way to restrict which clients of a network it is available in can connect to it.
Describe the proposed solution
Add option to selectively allow which addresses are allowed to connect, default to local ones.
optional: implement a middleware for bluetooth like pairing so the dev doesn't have to figure out mobile device ips first.
maybe integrate with plugin-qrcode to render a code that gets a device on the allow list?
Alternatives considered
http basic auth is already implemented but random generated password gets in the way when browsers store the previous credentials and multiple different projects might be served on the same address over time.
Importance
nice to have
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request