I could look into loading different config files per env but the problem here is that we don’t know what the production url is.
I could retrieve hostname with javascript and inject but this is for facebook sharing and that info needs to be on page load. looks like i will have to get my hands dirty with Go. Thanks