Phoenix App CORS Configuration Issue with Deployment

I opted not to use Application.compile_env because I needed the flexibility to update the origins dynamically without requiring a recompilation.