Skip to Content
Menu
This question has been flagged
2742 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
8379
2
gruod. 19
5688
1
bal. 25
1045
2
rugs. 24
2423
1
liep. 25
1853