I am trying to build an application that executes logic ONLY if the origin url is on a whitelist. I am trying to get the origin url inside of the cloud function using the follow