Closed talvasconcelos closed 11 months ago
i wonder why request does not infere the proper scheme we need to revisit this after this PR: https://github.com/lnbits/lnbits/pull/1609 updating to latest fastapi and starlette it may be fixed for a long time already.
Fastapi's
url_for
createshttps
URL's. If behind Tor, url scheme should be http. The PR checks if the url netloc is.onion
and changes url scheme to http. Needs Tor testing.Closes #5