I’m sorry I should have been more specific, I meant where was the name anchor code happening. I dove in and found it in javascripts/discourse/lib/url.js. It looks like there is a missing bracket.
javascripts/discourse/lib/url.js
Not sure why that would break only production though…
I’ll submit a PR.