Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2709 Visualizações

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
jan. 23
8302
2
dez. 19
5660
1
abr. 25
959
2
set. 24
2368
1
jul. 25
1803