From 37b104efd84a4ecce08b165ca37287155a53d8bf Mon Sep 17 00:00:00 2001 From: 2ManyProjects Date: Fri, 25 Apr 2025 19:29:23 -0500 Subject: [PATCH] cors --- backend/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/index.js b/backend/src/index.js index a0a631a..7c8246e 100644 --- a/backend/src/index.js +++ b/backend/src/index.js @@ -80,7 +80,7 @@ pool.connect() // Middleware app.use(cors({ - origin: 'https://rocks.2many.ca', + origin: '*', credentials: true })); app.use(express.json());