Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2711 Переглядів

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
8310
2
груд. 19
5666
1
квіт. 25
972
2
вер. 24
2378
1
лип. 25
1815