Ir al contenido
Menú
Se marcó esta pregunta
2659 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
8269
2
dic 19
5633
1
abr 25
929
2
sept 24
2324
1
jul 25
1758