Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2753 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 23
8413
2
thg 12 19
5700
1
thg 4 25
1072
2
thg 9 24
2438
1
thg 7 25
1864