No 'Access-Control-Allow-Origin'
LukasBlu1 opened this issue · 0 comments
LukasBlu1 commented
Hello Plesk-Team,
thank you for your great software.
I want to connect to plesk with my nodejs app.
But I get the following error.
I followed the plesk documentation to enable api access in the panel.ini but with no success.
Do you have a solution for this?
Failed to load https://domain:8443/enterprise/control/agent.php: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://domain' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Kind regards