Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2999 Vizualizări

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?

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
ian. 23
8669
2
dec. 19
5998
1
apr. 25
1455
2
sept. 24
2839
1
iul. 25
2115