Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2706 Представления

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?

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
янв. 23
8297
2
дек. 19
5658
1
апр. 25
952
2
сент. 24
2361
1
июл. 25
1799