- Server operating system version
- Rocky Linux 8
- Plesk version and microupdate number
- 18.0.55 Update Nr. 2
Hi,
I have two temporary domains for testing (I couldn't connect real domain at the moment). On one domain, there is an angular app running, on the other domain, there is an express.js backend running. The express.js application is working as I can query data from rest endpoints with postman and browser.
When I try to access these enpoints from my angular app, I get status code 428. Can someone give me a hint what's going wrong?
I've added this to nginx config: add_header 'Access-Control-Allow-Origin' '*'; because I also want to access the backend from my local develop environment.
Cors in express.js is also set to origin: "*".
Is there any configuration I have to do in plesk?
Thank you.
I have two temporary domains for testing (I couldn't connect real domain at the moment). On one domain, there is an angular app running, on the other domain, there is an express.js backend running. The express.js application is working as I can query data from rest endpoints with postman and browser.
When I try to access these enpoints from my angular app, I get status code 428. Can someone give me a hint what's going wrong?
I've added this to nginx config: add_header 'Access-Control-Allow-Origin' '*'; because I also want to access the backend from my local develop environment.
Cors in express.js is also set to origin: "*".
Is there any configuration I have to do in plesk?
Thank you.