Skip to Content
Menu
This question has been flagged
2682 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
8284
2
Dec 19
5645
1
Apr 25
938
2
Sep 24
2336
1
Jul 25
1786