Ir al contenido
Menú
Se marcó esta pregunta
2658 Vistas

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
ene 23
8266
2
dic 19
5631
1
abr 25
927
2
sept 24
2323
1
jul 25
1757