This fixes cors, if the user use a *. The cors libary only work with *, if its not an array. So first I check if its not a boolean and if it includes a star, if thats the case, use a star without an array. Otherwise use the array/boolean value.
Motivation and Context
Screenshots / GIFs (if appropriate):
Checklist
[x] I have read the CONTRIBUTING document.
[x] I have considered the accessibility of my changes (i.e. did I add proper content descriptions to images, or run my changes with talkback enabled?)
Description
This fixes cors, if the user use a
*
. The cors libary only work with*
, if its not an array. So first I check if its not a boolean and if it includes a star, if thats the case, use a star without an array. Otherwise use the array/boolean value.Motivation and Context
Screenshots / GIFs (if appropriate):
Checklist
Resolves