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
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
3000
มุมมอง
im stuck is there no quick fix or configuration to the cors enabling in the server
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
|
2
พ.ค. 23
|
5106 | ||
|
|
1
เม.ย. 23
|
4596 | ||
|
|
1
ม.ค. 23
|
7059 | ||
|
|
1
ม.ค. 21
|
20519 | ||
|
|
0
พ.ค. 26
|
1 |