Se rendre au contenu
Menu
Cette question a été signalée
3000 Vues

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
Ignorer
Publications associées Réponses Vues Activité
0
janv. 23
8670
2
déc. 19
6003
1
avr. 25
1456
2
sept. 24
2839
1
juil. 25
2116