Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2704 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
8296
2
dec. 19
5657
1
apr. 25
952
2
sept. 24
2359
1
iul. 25
1799