Access to XMLHttpRequest at 'https://api.krishit.com/navbar/checkforNavbar' from origin 'https://hrms.krishit.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Access to XMLHttpRequest at 'https://api.krishit.com/navbar/checkforNavbar' from origin 'https://hrms.krishit.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
nodejs was not running and thats why giving this error
pm2 start app.js from hrms folder
Comments
Post a Comment