Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
3156 Weergaven

Is there a reason why the following @http.route that specifically uses auth="user" does not respect the cors flag on the decorator?


@http.route('/web/session/modules', type='json', auth="user", cors="*")

I've skimmed through the code for the decorator itself, and can not see a reason why the combination of auth="user" and cors would invalidate the cors functionality of the decorator.

Can anyone explain?

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jan. 23
8831
2
dec. 19
6243
1
apr. 25
1709
2
sep. 24
3094
1
jul. 25
2286