Skip to Content
Menu
This question has been flagged
1812 Views

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
Discard
Related Posts Replies Views Activity
0
Jan 23
4333
2
Dec 19
4717
2
Sep 24
291
1
Sep 24
353
3
May 24
1754