Node App getting No 'Access-Control-Allow-Origin' header is present on the requested resource.

Operating System & Version
CentOS 7
cPanel & WHM Version
84.0.21

mortblue24

Registered
Jan 30, 2020
2
0
1
Philippines
cPanel Access Level
Root Administrator
I have installed a Node.js (Express) as a RESTful API Service for my Web app. I have correctly configured the app.use(cors()) in the app.js of the Express App still i get the CORS error, any idea?

Is this maybe of the Apache Server?
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,252
313
Houston
Is anything at all noted in the error logs beyond this? You might open a ticket to determine if there is some issue with the configuration if you're unable to find any further information.