Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1049 Lượt xem

hey, so im finding problems sending request to the server from other domain i tried solving it by adding the cors=* on the route decorator specifically signup endpoint but even after that now i get this error
Access to XMLHttpRequest at 'http://localhost:8069/web/session/authenticate' from origin 'http://localhost:55914' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
and i dont know if i have to modify the odoo code or is there configurations that i can make instead of modifying the code

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

im stuck is there no quick fix or configuration to the cors enabling in the server

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 23
2981
1
thg 4 23
2907
1
thg 1 23
5022
1
thg 1 21
17515
3
thg 12 24
1946