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

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
8277
2
12月 19
5636
1
4月 25
933
2
9月 24
2328
1
7月 25
1771