orgin changes

This commit is contained in:
Ramprasad 2024-12-31 17:44:38 +05:30
parent 599d1c4473
commit df52512cad

View File

@ -16,7 +16,9 @@ import {
const app = express();
// Set up CORS middleware for Express
app.use(cors());
app.use(cors({
origin: "*",
}));
// Create an HTTP server
const httpServer: HTTPServer = createServer(app);