Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2663 Widoki

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?

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
sty 23
8274
2
gru 19
5634
1
kwi 25
932
2
wrz 24
2327
1
lip 25
1769