Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3153 Tampilan

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?

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jan 23
8826
2
Des 19
6242
1
Apr 25
1706
2
Sep 24
3090
1
Jul 25
2284