İçereği Atla
Menü
Bu soru işaretlendi
2660 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 23
8269
2
Ara 19
5633
1
Nis 25
929
2
Eyl 24
2325
1
Tem 25
1758