I\'m trying to restrict access to my API from petitions being served from allowed domain names. I have setup CORS middleware but it seems it\'s not being used.
applicatio