Skip to Content
Menu
This question has been flagged
3037 Rodiniai

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?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
saus. 23
8699
2
gruod. 19
6026
1
bal. 25
1496
2
rugs. 24
2863
1
liep. 25
2133