Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
3009 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
8676
2
Des 19
6005
1
Apr 25
1470
2
Sep 24
2845
1
Jul 25
2120