loophole / cli

Loophole. Instant hosting, right from your local machine. CLI.
https://loophole.cloud
MIT License
161 stars 17 forks source link

HTTP_HOST request header #251

Open skojin opened 7 months ago

skojin commented 7 months ago

I proxy with command loophole http --hostname my-app 3000. It's expected that request header will be my-app.loophole.site but it's 127.0.0.1:3000. So rails render link (for home_url) as 127.0.0.1:3000/home instead of my-app.loophole.site/home

Looks like it related to this change https://github.com/loophole/cli/pull/172