Post Hangout 2022-03-01

I needed to get the URL of the web app. session.url does not return it.

Asked at the hangout. A couple of ideas.

Further research: session.header(“Host”) provides it.

I think a change to the documentation is in order.

Note if the app is behind nginx for example that will return


Thanks for the info (also something to add to the docs). I tested it, and it works where I am so I’m probably ok.

You may have something misconfigured, I capture the domain from the Host header with TPLM (which I run behind nginx). TPLM is Web 1.0 so someone might need to confirm Web 2.0.