metro icon indicating copy to clipboard operation
metro copied to clipboard

Expose a way to change the host in config

Open christianlime opened this issue 1 year ago • 2 comments

Do you want to request a feature or report a bug? Feature

What is the current behavior? I can only customize host with localhost, tunnel or lan

What is the expected behavior? I want to be able to provide an alias for localhost for local web development. I don't want to be limited to only use localhost:{port}. This would be similar to using server.host as vite does, or webpack does with devServer.host

christianlime avatar Nov 15 '24 22:11 christianlime

Yeah, that's a reasonable request - it shouldn't be too difficult to implement following the example of the way port is passed through from both config and CLI args, we'd welcome a PR.

robhogan avatar Nov 22 '24 20:11 robhogan

is this issue completed?

0xSaksham avatar Apr 14 '25 10:04 0xSaksham