Uses global config in scala-play project to configure cors