Difference between allowOrigin and allowOrigins

Hello all,

Can anyone give me an example of an actual allowOrigins (with an s on the end) usage, I see the documentation and the code and there is a big mismatch. I have the feeling I need to use the second one, but I can’t find a right way to configure it.