diff options
Diffstat (limited to 'backend/src/index.ts')
| -rw-r--r-- | backend/src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 })); |
