跳至內容
選單
此問題已被標幟
1 回覆
978 瀏覽次數

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

頭像
捨棄
作者 最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
5月 23
2950
1
4月 23
2862
1
1月 23
4961
1
1月 21
17430
3
12月 24
1909