Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2732 Prikazi

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
jan. 23
8368
2
dec. 19
5679
1
apr. 25
1024
2
sep. 24
2417
1
jul. 25
1847