Skip to Content
Menú
This question has been flagged
2671 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
0
de gen. 23
8278
2
de des. 19
5641
1
d’abr. 25
936
2
de set. 24
2332
1
de jul. 25
1777