Skip to Content
Menú
This question has been flagged
2998 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
8669
2
de des. 19
5997
1
d’abr. 25
1455
2
de set. 24
2839
1
de jul. 25
2114