Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
2736 Visninger

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jan. 23
8377
2
dec. 19
5683
1
apr. 25
1032
2
sep. 24
2419
1
jul. 25
1852