From 864ce67d89c77d8ef9c3361f80d619853abcf91c Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sun, 29 Jun 2025 11:41:51 -0700 Subject: backend: migrate to postgres --- backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/src') diff --git a/backend/src/index.ts b/backend/src/index.ts index 52a7a33..37b64a8 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -11,7 +11,7 @@ const port = 5000; app.use(cors({ origin: [ - 'http://localhost:5173', // Vite dev server default port + process.env.FRONTEND_URL || "http://localhost:5173" ], credentials: true })); -- cgit v1.2.3