air icon indicating copy to clipboard operation
air copied to clipboard

Feat: Use host header for proxy

Open Chrisischris opened this issue 1 year ago • 1 comments

My app serves multiple subdomains so for local development I access it with sub1.localhost:port for example. Since the proxy has localhost hardcoded you couldn't use live reload with these urls, this new config allows you to use the host header when proxying the request. I've also added a config for number of retries before failing since apps can take longer than a second to build.

Chrisischris avatar Feb 24 '25 22:02 Chrisischris

I have exactly the same use case. The host should not be hardcoded.

slunak avatar Oct 31 '25 06:10 slunak