Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Feat: Use host header for proxy#745

Open
Chrisischris wants to merge 2 commits intoair-verse:masterfrom
Chrisischris:host
Open

Feat: Use host header for proxy#745
Chrisischris wants to merge 2 commits intoair-verse:masterfrom
Chrisischris:host

Conversation

@Chrisischris
Copy link

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.

@slunak
Copy link

slunak commented Oct 31, 2025

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

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