Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2664 Zobrazení

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
led 23
8276
2
pro 19
5635
1
dub 25
933
2
zář 24
2328
1
čvc 25
1770