I am trying to embed the scheduler to a landing page via an iframe. The Odoo CORS policy is blocking it.
What can be done to remediate the issue ?
I am trying to embed the scheduler to a landing page via an iframe. The Odoo CORS policy is blocking it.
What can be done to remediate the issue ?
Where do you add that code ?
Isnt it the change supposed to happen on the Odoo website ?
Solution 1:
Your can try to set proxy_mode = True in the odoo.conf file
Solution 2:
You can change nginx configuration to enable cors
nano /etc/nginx/site-enabled/websiteserver{
.......
add_header Access-Control-Allow-Origin "*";
}
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscrever-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
1
fev. 25
|
3059 | |||
|
2
out. 25
|
40698 | |||
|
How Embed Iframe from external Website
Resolvido
|
3
mai. 24
|
5887 | ||
|
Adding I frame in OpenERP
Resolvido
|
2
nov. 23
|
39345 | ||
|
3
dez. 23
|
20289 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.