Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2669 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
8278
2
Des 19
5640
1
Apr 25
936
2
Sep 24
2331
1
Jul 25
1777