Can't infer host from window.location

Since using the ii_integration repo for connecting a wallet locally I get the following warning:

And when I go to connect in my app it doesn’t use localhost anymore it uses mainnet IIDs:

Which I think is then the reason I am getting a failed to authenticate request error due to invalid canister signatures:

Any help on getting back to just testing locally would be appreciated.

Thanks,
James

Try this:

? ...
: `http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943`,