Got it to work in production when deploying.