skip to Main Content

Redis – Cors policy in socketio express

I am getting following error: Access to XMLHttpRequest at 'http://localhost:8001/socket.io/?EIO=3&transport=polling&t=NWrnTy1' from origin 'http://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. my node server code: //import express from "express"; //import http from "http";…

VIEW QUESTION
Back To Top
Search