diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:41:51 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-06-29 11:43:59 -0700 |
| commit | 864ce67d89c77d8ef9c3361f80d619853abcf91c (patch) | |
| tree | 58a83c20fab91d9480fda5f8648c257f96352aa4 /backend/src | |
| parent | ff37cca46430ed714015647469f88ce06781457a (diff) | |
backend: migrate to postgres
Diffstat (limited to 'backend/src')
| -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 })); |
