Se rendre au contenu
Menu
Cette question a été signalée
2718 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
8341
2
déc. 19
5670
1
avr. 25
985
2
sept. 24
2391
1
juil. 25
1823