Open skojin opened 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
loophole http --hostname my-app 3000
my-app.loophole.site
127.0.0.1:3000
127.0.0.1:3000/home
my-app.loophole.site/home
Looks like it related to this change https://github.com/loophole/cli/pull/172
I proxy with command
loophole http --hostname my-app 3000
. It's expected that request header will bemy-app.loophole.site
but it's127.0.0.1:3000
. So rails render link (for home_url) as127.0.0.1:3000/home
instead ofmy-app.loophole.site/home
Looks like it related to this change https://github.com/loophole/cli/pull/172