Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2697 Visualizzazioni

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
gen 23
8292
2
dic 19
5651
1
apr 25
951
2
set 24
2357
1
lug 25
1793