Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
1592 Zobrazení

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 ? 

Avatar
Zrušit
Autor Nejlepší odpověď

Where do you add that code ? 

Isnt it the change supposed to happen on the Odoo website ? 




Avatar
Zrušit
Nejlepší odpověď

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 "*";

}


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
úno 25
1018
2
čvn 24
25963
3
kvě 24
2464
2
lis 23
36195
3
pro 23
17948