跳至内容
菜单
此问题已终结
3025 查看

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?

形象
丢弃
相关帖文 回复 查看 活动
0
1月 23
8688
2
12月 19
6011
1
4月 25
1474
2
9月 24
2851
1
7月 25
2126