跳至內容
選單
此問題已被標幟
2692 瀏覽次數

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
8290
2
12月 19
5650
1
4月 25
950
2
9月 24
2350
1
7月 25
1792