Skip to Content
Menú
This question has been flagged
2773 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
8460
2
de des. 19
5765
1
d’abr. 25
1150
2
de set. 24
2512
1
de jul. 25
1897