Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3027 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
8688
2
thg 12 19
6012
1
thg 4 25
1475
2
thg 9 24
2854
1
thg 7 25
2126