From df52512cadaa6111679a53e344aee60ac8d850c1 Mon Sep 17 00:00:00 2001 From: Ramprasad Date: Tue, 31 Dec 2024 17:44:38 +0530 Subject: [PATCH] orgin changes --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 189f2b2..adfa560 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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);