I just merged the PR, once it’s in tests-passed, you can rebuild and it should fix the issue. I was testing locally with TOR and Firefox on macOS.
Keep an eye on GitHub - discourse/discourse at tests-passed · GitHub, once the commit shows up there, you can rebuild.