Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2734 มุมมอง

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?

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
ม.ค. 23
8373
2
ธ.ค. 19
5683
1
เม.ย. 25
1029
2
ก.ย. 24
2417
1
ก.ค. 25
1851